#27524: Using user instance (instead of get_user_model()) leads to errors when 
user
model is overridden
------------------------------+--------------------------------------
     Reporter:  Andy Martin   |                    Owner:  nobody
         Type:  Bug           |                   Status:  new
    Component:  contrib.auth  |                  Version:  1.8
     Severity:  Normal        |               Resolution:
     Keywords:                |             Triage Stage:  Unreviewed
    Has patch:  1             |      Needs documentation:  0
  Needs tests:  1             |  Patch needs improvement:  0
Easy pickings:  0             |                    UI/UX:  0
------------------------------+--------------------------------------
Changes (by Tim Graham):

 * component:  Uncategorized => contrib.auth
 * needs_tests:  0 => 1


Comment:

 Could you provide details about your custom user model? I don't know how
 `user._meta` returns `MetaDict`. If the use case is valid, we'll also need
 a regression test. By the way, you don't need to attach a patch to the
 ticket, the [https://github.com/django/django/pull/7597 PR] is enough.

--
Ticket URL: <https://code.djangoproject.com/ticket/27524#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/072.6d098e8ad4f6b880335c2058172ce422%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to