Browse Source

add MessageMiddleware which is needed for the admin system

Natenom/support-murmur-13-1446181288462
Michael Ziegler 13 years ago
parent
commit
0cd8c4a64b
  1. 1
      pyweb/settings.py

1
pyweb/settings.py

@ -243,6 +243,7 @@ MIDDLEWARE_CLASSES = (
'django.middleware.csrf.CsrfViewMiddleware', 'django.middleware.csrf.CsrfViewMiddleware',
'django.middleware.locale.LocaleMiddleware', 'django.middleware.locale.LocaleMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware'
) )
ROOT_URLCONF = 'pyweb.urls' ROOT_URLCONF = 'pyweb.urls'

Loading…
Cancel
Save