]
# If DEBUG is enabled add query log to bottom of every template
-# if DEBUG:
-# MIDDLEWARE_CLASSES.append('middleware.ProfileMiddleware')
+if DEBUG:
+ MIDDLEWARE_CLASSES.append('middleware.ProfileMiddleware')
ROOT_URLCONF = 'urls'
TEMPLATE_DIRS = (
- PROJECT_DIR + '/templates/'
+ PROJECT_DIR + '/templates/',
)
# CSS and JS files to compress
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
+ 'django.contrib.admindocs',
'newtagging',
'pagination',
'chunks',