X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5eefbb458ca2f52ee626307d630bdbd229125bf7..1f2b24b30ba812716cf33af90b8f6ab1171d12c6:/wolnelektury/settings.py?ds=inline diff --git a/wolnelektury/settings.py b/wolnelektury/settings.py index 12edea30f..3afa9dd68 100644 --- a/wolnelektury/settings.py +++ b/wolnelektury/settings.py @@ -72,13 +72,13 @@ MIDDLEWARE_CLASSES = [ 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', - 'django.middleware.doc.XViewMiddleware', + # 'django.middleware.doc.XViewMiddleware', 'pagination.middleware.PaginationMiddleware', ] # 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'