settings: more comments, reorder settings
This commit is contained in:
parent
43838cff9b
commit
4509b0aa69
@ -8,16 +8,17 @@ import django.conf.global_settings as DEFAULT_SETTINGS
|
|||||||
# Use a unique, long, random, secret string here.
|
# Use a unique, long, random, secret string here.
|
||||||
SECRET_KEY = 'this is for sure not secret, but good enough for running the unit tests'
|
SECRET_KEY = 'this is for sure not secret, but good enough for running the unit tests'
|
||||||
|
|
||||||
|
# set this to False for production (see the docs for important hints)
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
TEMPLATE_DEBUG = DEBUG
|
TEMPLATE_DEBUG = DEBUG
|
||||||
|
|
||||||
ADMINS = (
|
|
||||||
# ('Your Name', 'your_email@example.com'),
|
|
||||||
)
|
|
||||||
|
|
||||||
# sender address for e.g. user activation emails
|
# sender address for e.g. user activation emails
|
||||||
DEFAULT_FROM_EMAIL = "your_email@example.com"
|
DEFAULT_FROM_EMAIL = "your_email@example.com"
|
||||||
|
|
||||||
|
# admins will get traceback emails
|
||||||
|
ADMINS = (
|
||||||
|
# ('Your Name', 'your_email@example.com'),
|
||||||
|
)
|
||||||
MANAGERS = ADMINS
|
MANAGERS = ADMINS
|
||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
@ -164,9 +165,9 @@ INSTALLED_APPS = (
|
|||||||
'django_extensions',
|
'django_extensions',
|
||||||
)
|
)
|
||||||
|
|
||||||
# A sample logging configuration. The only tangible logging
|
# A sample logging configuration.
|
||||||
# performed by this configuration is to send an email to
|
# Sends an email to the site admins on every HTTP 500 error when DEBUG=False.
|
||||||
# the site admins on every HTTP 500 error when DEBUG=False.
|
# Do some stderr logging for some views.
|
||||||
# See http://docs.djangoproject.com/en/dev/topics/logging for
|
# See http://docs.djangoproject.com/en/dev/topics/logging for
|
||||||
# more details on how to customize your logging configuration.
|
# more details on how to customize your logging configuration.
|
||||||
LOGGING = {
|
LOGGING = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user