summaryrefslogtreecommitdiff
path: root/forums
diff options
context:
space:
mode:
Diffstat (limited to 'forums')
-rw-r--r--forums/settings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/forums/settings.py b/forums/settings.py
index 6ab03c0..2d6d388 100644
--- a/forums/settings.py
+++ b/forums/settings.py
@@ -119,6 +119,8 @@ MIDDLEWARE_CLASSES = (
'django.contrib.messages.middleware.MessageMiddleware',
# Uncomment the next line for simple clickjacking protection:
# 'django.middleware.clickjacking.XFrameOptionsMiddleware',
+ 'htmlmin.middleware.HtmlMinifyMiddleware',
+ 'htmlmin.middleware.MarkRequestMiddleware',
)
ROOT_URLCONF = 'forums.urls'
@@ -186,3 +188,4 @@ DATABASE_ROUTERS = ['drupal_auth.routers.DrupalAuthRouter']
TEMPLATE_CONTEXT_PROCESSORS += ('website.context_processors.admin_processor', )
COMPRESS_ENABLED = True
+HTML_MINIFY = True