#25187: Make request available in authentication backends
-------------------------------------+-------------------------------------
Reporter: Carl Meyer | Owner: Tim
| Graham <timograham@…>
Type: New feature | Status: closed
Component: contrib.auth | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Marti Raudsepp):
Testing on 1.11b1, this change breaks code like django-cas-ng that
provided their own view to pass the `request` argument:
https://github.com/mingchen/django-cas-
ng/blob/master/django_cas_ng/views.py#L59-L61
If this can't be fixed in time for 1.11 then the release notes should
document clearly that `request` needs to be the first positional argument,
not a keyword argument.
--
Ticket URL: <https://code.djangoproject.com/ticket/25187#comment:12>
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/064.09c2ccd0c2ab06b995e8d78177a63aa6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.