X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9e91abcf885383cee41a2c4f11d4777b58acf1aa..3333b0748fd76170f3b44bf9533b21889fa6685f:/wolnelektury/settings.py?ds=sidebyside diff --git a/wolnelektury/settings.py b/wolnelektury/settings.py index 3afa9dd68..8b03f9c10 100644 --- a/wolnelektury/settings.py +++ b/wolnelektury/settings.py @@ -77,13 +77,13 @@ MIDDLEWARE_CLASSES = [ ] # 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 @@ -126,6 +126,7 @@ INSTALLED_APPS = ( 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', + 'django.contrib.admindocs', 'newtagging', 'pagination', 'chunks',