From: Tollef Fog Heen Date: Sat, 9 Jun 2012 19:05:55 +0000 (+0200) Subject: Disable debug toolbar for now X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a05742c408644e2d610c7b08e0a13b8278136af5;p=peojumk Disable debug toolbar for now --- 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', )