Move PDC messaging middleware to the top of the list.
As per upstream's recommendations here: https://github.com/product-definition-center/product-definition-center/issues/322
This commit is contained in:
parent
eae8fcead7
commit
b7d4fb6f47
1 changed files with 1 additions and 1 deletions
|
@ -46,6 +46,7 @@ AUTHENTICATION_BACKENDS = (
|
||||||
'django.contrib.auth.backends.ModelBackend',
|
'django.contrib.auth.backends.ModelBackend',
|
||||||
)
|
)
|
||||||
MIDDLEWARE_CLASSES = (
|
MIDDLEWARE_CLASSES = (
|
||||||
|
'pdc.apps.utils.middleware.MessagingMiddleware',
|
||||||
'corsheaders.middleware.CorsMiddleware',
|
'corsheaders.middleware.CorsMiddleware',
|
||||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||||
'django.middleware.common.CommonMiddleware',
|
'django.middleware.common.CommonMiddleware',
|
||||||
|
@ -59,7 +60,6 @@ MIDDLEWARE_CLASSES = (
|
||||||
'kobo.django.menu.middleware.MenuMiddleware',
|
'kobo.django.menu.middleware.MenuMiddleware',
|
||||||
'pdc.apps.usage.middleware.UsageMiddleware',
|
'pdc.apps.usage.middleware.UsageMiddleware',
|
||||||
'pdc.apps.changeset.middleware.ChangesetMiddleware',
|
'pdc.apps.changeset.middleware.ChangesetMiddleware',
|
||||||
'pdc.apps.utils.middleware.MessagingMiddleware',
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue