#21164: get_user_model() does not handle custom user models for testing purposes
-----------------------------------+---------------------------------------
     Reporter:  raymond.penners@…  |                    Owner:  nobody
         Type:  Bug                |                   Status:  new
    Component:  contrib.auth       |                  Version:  1.6-alpha-1
     Severity:  Release blocker    |               Resolution:
     Keywords:                     |             Triage Stage:  Accepted
    Has patch:  1                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+---------------------------------------

Comment (by carljm):

 @russellm That approach doesn't depend on the auth tests being run, but it
 does still depend on the previously-undocumented "models in test files are
 installed during test runs" behavior. I'm not sure that's behavior that we
 really want to solidify with a backwards-compatibility guarantee, but
 pragmatically given that the testing-custom-users docs already rely on it,
 I'm ok with your suggestion.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21164#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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/084.4842190e464e94e7e89624c99a7f1b8f%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to