#26445: Can't set password on User during migration that depends on contrib.auth
-------------------------------------+-------------------------------------
     Reporter:  Markus Amalthea      |                    Owner:  Markus
  Magnuson                           |  Amalthea Magnuson
         Type:  Bug                  |                   Status:  new
    Component:  contrib.auth         |                  Version:  1.9
     Severity:  Normal               |               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 Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"7af8f4127397279d19ef7c7899e93018274e2f9b" 7af8f41]:
 {{{
 #!CommitTicketReference repository=""
 revision="7af8f4127397279d19ef7c7899e93018274e2f9b"
 Refs #26445 -- Allowed using UserManager.create_user()/create_superuser()
 in migrations.

 Used app config to lookup user model in _create_user().

 Thanks Markus Holtermann for the review and initial patch.
 Thanks Simon Charette for the implementation idea.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/26445#comment:7>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/073.9351a80ef234835682170c9c05507ebe%40djangoproject.com.

Reply via email to