From a05742c408644e2d610c7b08e0a13b8278136af5 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sat, 9 Jun 2012 21:05:55 +0200 Subject: [PATCH] Disable debug toolbar for now --- peojumk/settings.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/peojumk/settings.py b/peojumk/settings.py index 33ad44d..8b2f00e 100644 --- a/peojumk/settings.py +++ b/peojumk/settings.py @@ -160,12 +160,15 @@ LOGGING = { } } +DATE_FORMAT = 'Y-m-d' +SHORT_DATE_FORMAT = 'Y-m-d' + try: from local_settings import * except ImportError, exp: pass -if DEBUG: - INSTALLED_APPS = INSTALLED_APPS + ('debug_toolbar',) - INTERNAL_IPS = ('127.0.0.1',) - MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + ('debug_toolbar.middleware.DebugToolbarMiddleware', ) +#if DEBUG: +# INSTALLED_APPS = INSTALLED_APPS + ('debug_toolbar',) +# INTERNAL_IPS = ('127.0.0.1',) +# MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + ('debug_toolbar.middleware.DebugToolbarMiddleware', ) -- 2.39.5