summaryrefslogtreecommitdiff
path: root/forums
diff options
context:
space:
mode:
authorJayaram Pai2014-04-15 16:01:00 +0530
committerJayaram Pai2014-04-15 16:01:00 +0530
commit83063012ac3eac51983c83d3b1681595aa59eb1d (patch)
treeed7fb51e09e70ac0490f48c3ddf0c15a573d69ad /forums
parent7c74b30aafb85b026ce846de8d2fb6a514d6e4ae (diff)
downloadFOSSEE-Forum-83063012ac3eac51983c83d3b1681595aa59eb1d.tar.gz
FOSSEE-Forum-83063012ac3eac51983c83d3b1681595aa59eb1d.tar.bz2
FOSSEE-Forum-83063012ac3eac51983c83d3b1681595aa59eb1d.zip
major changes done, category logos added
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