#22771: TestCase.client.logout fails when using custom authentication backend
not
based on AUTH_USER_MODEL
-------------------------------------+-------------------------------------
Reporter: xafer | Owner: nobody
Type: Uncategorized | Status: new
Component: Testing framework | Version: 1.6
Severity: Normal | Resolution:
Keywords: logout test | Triage Stage:
AUTH_USER_MODEL | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by xafer):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
To backup the change, using django.contrib.auth.get_user is also what's
done by the AuthenticationMiddleware (cf
https://github.com/django/django/blob/1.6.5/django/contrib/auth/middleware.py#L18)
--
Ticket URL: <https://code.djangoproject.com/ticket/22771#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.5ac3971e85fd52660237181c8a9d7c43%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.