#19912: Authenticate users in multiple database
-------------------------------------+-------------------------------------
Reporter: EvgeniyMakhmudov | Owner:
Type: New feature | EvgeniyMakhmudov
Component: contrib.auth | Status: closed
Severity: Normal | Version: 1.4
Keywords: authenticate | Resolution: wontfix
Has patch: 1 | Triage Stage:
Needs tests: 1 | Unreviewed
Easy pickings: 0 | Needs documentation: 0
| Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by jacob):
* status: assigned => closed
* resolution: => wontfix
Comment:
I think this is in "write your own backend" territory. It's fairly simple
to subclass `ModelBackend` and provide your own authentication using
whatever database you choose. Once you start doing "special things" with
auth, you're almost certainly going to have to write a custom backend.
[Also, this mixes up what arguments `authenticate()` takes: it's supposed
to be `**credentials`, but the database isn't exactly considered
credentials, I think.]
--
Ticket URL: <https://code.djangoproject.com/ticket/19912#comment:4>
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].
For more options, visit https://groups.google.com/groups/opt_out.