mirror of
				https://github.com/fspc/workstand.git
				synced 2025-10-31 08:25:35 -04:00 
			
		
		
		
	Add haystack to django.
This commit is contained in:
		
							parent
							
								
									5916069c41
								
							
						
					
					
						commit
						8036e47c61
					
				| @ -29,7 +29,7 @@ INSTALLED_APPS = [ | ||||
|     'django.contrib.sessions', | ||||
|     'django.contrib.messages', | ||||
|     'django.contrib.staticfiles', | ||||
| 
 | ||||
|     'haystack', | ||||
|     'webpack_loader', | ||||
|     'compressor', | ||||
| 
 | ||||
| @ -142,4 +142,11 @@ WEBPACK_LOADER = { | ||||
|         'POLL_INTERVAL': 0.1, | ||||
|         'IGNORE': ['.+\.hot-update.js', '.+\.map'] | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| HAYSTACK_CONNECTIONS = { | ||||
|     'default': { | ||||
|         'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', | ||||
|         'PATH': os.path.join(os.path.dirname(__file__), 'whoosh_index'), | ||||
|     }, | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user