diff --git a/settings/development.py b/settings/development.py index 21753b37..b3e6c4c5 100644 --- a/settings/development.py +++ b/settings/development.py @@ -4,9 +4,6 @@ from .common import * DEBUG = True TEMPLATE_DEBUG = DEBUG -USE_ETAGS = False - -SESSION_ENGINE='django.contrib.sessions.backends.db' TEMPLATE_CONTEXT_PROCESSORS += [ "django.core.context_processors.debug", diff --git a/settings/production.py b/settings/production.py deleted file mode 100644 index de4182e6..00000000 --- a/settings/production.py +++ /dev/null @@ -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']