added middleware classes

This commit is contained in:
Michael Kutý 2015-06-15 20:36:24 +02:00
parent 16fe97575c
commit b47af2e1ff

View file

@ -26,6 +26,11 @@ INSTALLED_APPS = [
'dbtemplates',
]
MIDDLEWARE_CLASSES = (
'django.contrib.messages.middleware.MessageMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
)
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',