|
|
@ -10,6 +10,9 @@ import os.path |
|
|
|
# Import common settings |
|
|
|
from .settings_common import * |
|
|
|
|
|
|
|
MIDDLEWARE_CLASSES += ( |
|
|
|
'debug_toolbar.middleware.DebugToolbarMiddleware', |
|
|
|
) |
|
|
|
|
|
|
|
# Quick-start development settings - unsuitable for production |
|
|
|
# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/ |
|
|
@ -22,7 +25,7 @@ INSTALLED_APPS += ( |
|
|
|
# SECURITY WARNING: don't run with debug turned on in production! |
|
|
|
DEBUG = True |
|
|
|
|
|
|
|
TEMPLATE_DEBUG = True |
|
|
|
TEMPLATES[0]['OPTIONS']['debug'] = True |
|
|
|
|
|
|
|
ALLOWED_HOSTS = ['127.0.0.1'] |
|
|
|
|
|
|
@ -48,7 +51,3 @@ DATABASES = { |
|
|
|
# set to 'DEBUG' for EXTRA verbose output |
|
|
|
LOGGING['handlers']['console']['level'] = 'INFO' |
|
|
|
|
|
|
|
# So that it is not necessary to restart the server every time a template is |
|
|
|
# changed |
|
|
|
TEMPLATE_LOADERS = ('django.template.loaders.filesystem.Loader', |
|
|
|
'django.template.loaders.app_directories.Loader') |
|
|
|