From d433ed78675cf97322848eaa6e9f4f9d96180c9f Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 21 Mar 2014 20:39:52 +0100 Subject: [PATCH] Remove production not used setting. --- settings/development.py | 3 --- settings/production.py | 15 --------------- 2 files changed, 18 deletions(-) delete mode 100644 settings/production.py 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']