eg:
{{{
MIDDLEWARE_CLASSES = (
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
)
}}}
would fail the assertion, where
{{{
MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
)
}}}
would pass.
--
Ticket URL: <https://code.djangoproject.com/ticket/22362>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"246face20984b70b93751d144760bfd9b45d2c09"]:
{{{
#!CommitTicketReference repository=""
revision="246face20984b70b93751d144760bfd9b45d2c09"
Fixed #22362 -- Improved AuthenticationMiddleware assertion message.
Thanks Keryn Knight.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22362#comment:1>
Comment (by Tim Graham <timograham@…>):
In [changeset:"ef3734693277242e98996f591d9acf39e8819441"]:
{{{
#!CommitTicketReference repository=""
revision="ef3734693277242e98996f591d9acf39e8819441"
[1.7.x] Fixed #22362 -- Improved AuthenticationMiddleware assertion
message.
Thanks Keryn Knight.
Backport of 246face209 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22362#comment:2>