|
@ -29,7 +29,7 @@ INSTALLED_APPS = [ |
|
|
'django.contrib.sessions', |
|
|
'django.contrib.sessions', |
|
|
'django.contrib.messages', |
|
|
'django.contrib.messages', |
|
|
'django.contrib.staticfiles', |
|
|
'django.contrib.staticfiles', |
|
|
|
|
|
'haystack', |
|
|
'webpack_loader', |
|
|
'webpack_loader', |
|
|
'compressor', |
|
|
'compressor', |
|
|
|
|
|
|
|
@ -142,4 +142,11 @@ WEBPACK_LOADER = { |
|
|
'POLL_INTERVAL': 0.1, |
|
|
'POLL_INTERVAL': 0.1, |
|
|
'IGNORE': ['.+\.hot-update.js', '.+\.map'] |
|
|
'IGNORE': ['.+\.hot-update.js', '.+\.map'] |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
HAYSTACK_CONNECTIONS = { |
|
|
|
|
|
'default': { |
|
|
|
|
|
'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', |
|
|
|
|
|
'PATH': os.path.join(os.path.dirname(__file__), 'whoosh_index'), |
|
|
|
|
|
}, |
|
|
} |
|
|
} |