#25966: Implement get_user_model() that can be used in models.py
-------------------------------------+-------------------------------------
Reporter: Marten Kenbeek | Owner: Markus
| Holtermann
Type: New feature | Status: closed
Component: contrib.auth | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Markus Holtermann <info@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"cb7bbf97a74fa7800865e3615f196ad65dc4f281" cb7bbf97]:
{{{
#!CommitTicketReference repository=""
revision="cb7bbf97a74fa7800865e3615f196ad65dc4f281"
Fixed #25966 -- Made get_user_model() work at import time.
This makes it equivalent to: `from django.contrib.auth.models import
User`.
Thanks Aymeric Augustin for the initial patch and Tim Graham for the
review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25966#comment:10>
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/062.3a2bb3452118bd37f792daec9fabd488%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.