mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-04-28 18:54:50 +00:00
added middleware classes
This commit is contained in:
parent
16fe97575c
commit
b47af2e1ff
1 changed files with 5 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue