Fixed local settings, SECRET_KEY setter and add TEST_RUNNER explicitly

Thanks @ad-m for reporting

closes #223
This commit is contained in:
Saurabh Kumar 2015-04-25 18:35:33 +05:30
parent e0e6d8a8ea
commit 47f89d9df1

View File

@ -18,7 +18,7 @@ TEMPLATE_DEBUG = DEBUG
# ------------------------------------------------------------------------------
# See: https://docs.djangoproject.com/en/dev/ref/settings/#secret-key
# Note: This key only used for development and testing.
SECRET_KEY = env("DJANGO_SECRET_KEY", 'CHANGEME!!!')
SECRET_KEY = env("DJANGO_SECRET_KEY", default='CHANGEME!!!')
# Mail settings
# ------------------------------------------------------------------------------
@ -51,4 +51,8 @@ DEBUG_TOOLBAR_CONFIG = {
'SHOW_TEMPLATE_CONTEXT': True,
}
# TESTING
# ------------------------------------------------------------------------------
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
# Your local stuff: Below this line define 3rd party library settings