Private
Public Access
1
0

minification of html

This commit is contained in:
Sander Roosendaal
2016-12-08 15:45:10 +01:00
parent ee7f22876d
commit 28d2664f38
3 changed files with 11 additions and 10 deletions

View File

@@ -60,6 +60,9 @@ AUTHENTICATION_BACKENDS = (
)
MIDDLEWARE_CLASSES = [
'django.middleware.gzip.GZipMiddleware',
'htmlmin.middleware.HtmlMinifyMiddleware',
'htmlmin.middleware.MarkRequestMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',