Remove production not used setting.
parent
87c5346e84
commit
d433ed7867
|
@ -4,9 +4,6 @@ from .common import *
|
||||||
|
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
TEMPLATE_DEBUG = DEBUG
|
TEMPLATE_DEBUG = DEBUG
|
||||||
USE_ETAGS = False
|
|
||||||
|
|
||||||
SESSION_ENGINE='django.contrib.sessions.backends.db'
|
|
||||||
|
|
||||||
TEMPLATE_CONTEXT_PROCESSORS += [
|
TEMPLATE_CONTEXT_PROCESSORS += [
|
||||||
"django.core.context_processors.debug",
|
"django.core.context_processors.debug",
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
from .common import *
|
|
||||||
|
|
||||||
DEBUG = False
|
|
||||||
TEMPLATE_DEBUG = DEBUG
|
|
||||||
USE_ETAGS = True
|
|
||||||
|
|
||||||
MIDDLEWARE_CLASSES += [
|
|
||||||
'django.middleware.http.ConditionalGetMiddleware',
|
|
||||||
'django.middleware.gzip.GZipMiddleware',
|
|
||||||
]
|
|
||||||
|
|
||||||
LOGGING['loggers']['django.db.backends']['handlers'] = ['null']
|
|
||||||
LOGGING['loggers']['django.request']['handlers'] = ['mail_admins']
|
|
Loading…
Reference in New Issue