Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 27 lines (18 sloc) 0.465 kb
d96172e @robhudson Added ES error middleware for Django (issue #47)
robhudson authored
1 import os
2
3
4 ROOT = os.path.abspath(os.path.dirname(__file__))
5
6
6ccf9dd @willkg Massive update to pyelasticsearch
willkg authored
7 ES_URLS = ['http://localhost:9200']
7dcc034 @willkg Issue 84. Fix get_indexes/get_doctypes silliness
willkg authored
8 ES_INDEXES = {'default': ['elasticutilstest']}
a14e1ba @davedash Sensible defaults
davedash authored
9 ES_TIMEOUT = 10
6bd2c40 @willkg Issue 102. Fix django tasks code
willkg authored
10 ES_DISABLED = False
11
12 CELERY_ALWAYS_EAGER = True
d96172e @robhudson Added ES error middleware for Django (issue #47)
robhudson authored
13
14 SECRET_KEY = 'super_secret'
15 TEMPLATE_DIRS = ('%s/elasticutils/templates' % ROOT,)
97f0cf7 @willkg Fix ESTestCase and 501/503 templates for middleware
willkg authored
16
17 DATABASES = {
18 'default': {
8e81bd5 @willkg Change test settings so we use in-memory db
willkg authored
19 'NAME': ':memory:',
97f0cf7 @willkg Fix ESTestCase and 501/503 templates for middleware
willkg authored
20 'ENGINE': 'django.db.backends.sqlite3'
21 }
22 }
23
24 INSTALLED_APPS = [
25 'elasticutils.contrib.django'
26 ]
Something went wrong with that request. Please try again.