add htmlmin

This commit is contained in:
Laura Klünder 2016-09-12 02:29:31 +02:00
parent 6d599d6338
commit 6cae6ae127
2 changed files with 3 additions and 0 deletions

View file

@ -125,6 +125,8 @@ MIDDLEWARE_CLASSES = [
'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware', 'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware',
'htmlmin.middleware.HtmlMinifyMiddleware',
'htmlmin.middleware.MarkRequestMiddleware',
] ]
# Security settings # Security settings

View file

@ -4,3 +4,4 @@ django-compressor==2.0
csscompressor csscompressor
djangorestframework>=3.4,<3.5 djangorestframework>=3.4,<3.5
django-filter>=0.14,<0.15 django-filter>=0.14,<0.15
django-htmlmin>=0.9,<0.10