django-analytical/analytical/tests/settings.py
Piet Delport 1c9e478cc9 Add SECRET_KEY to the test settings.
Running without a SECRET_KEY becomes a DeprecationWarning in Django 1.4,
and will start raising an ImproperlyConfigured error in Django 1.5.

Details: https://docs.djangoproject.com/en/1.4/releases/1.4/#secret-key-setting-is-required
2012-08-13 13:09:35 +02:00

16 lines
224 B
Python

"""
django-analytical testing settings.
"""
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:',
}
}
INSTALLED_APPS = [
'analytical',
]
SECRET_KEY = 'testing'