From cad4589b0af79e1130403e66eb7ebb12c431fe54 Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Thu, 21 Mar 2013 19:41:21 +0100 Subject: [PATCH] Removed auth, sites and content types. Without the admin we no longer need em. --- dpaste/settings.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/dpaste/settings.py b/dpaste/settings.py index 4a856ac..182bf4e 100644 --- a/dpaste/settings.py +++ b/dpaste/settings.py @@ -89,23 +89,15 @@ MIDDLEWARE_CLASSES = ( 'dpaste.disable.DisableCSRF', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', - 'django.contrib.auth.middleware.AuthenticationMiddleware', - 'django.contrib.messages.middleware.MessageMiddleware', + #'django.contrib.messages.middleware.MessageMiddleware', ) TEMPLATE_CONTEXT_PROCESSORS += ( 'django.core.context_processors.request', ) -TEMPLATE_DIRS = ( - os.path.join(PROJECT_DIR, PROJECT_MODULE_NAME, 'templates'), -) - INSTALLED_APPS = ( - 'django.contrib.auth', - 'django.contrib.contenttypes', 'django.contrib.sessions', - 'django.contrib.sites', 'django.contrib.staticfiles', 'mptt', 'south',