mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
Fixed local settings, SECRET_KEY setter and add TEST_RUNNER explicitly
Thanks @ad-m for reporting closes #223
This commit is contained in:
parent
e0e6d8a8ea
commit
47f89d9df1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user