#30139: django.contrib.auth.forms.UserCreationForm() doesn't call default 
manager's
create_user()
-------------------------------------+-------------------------------------
               Reporter:  Ashish     |          Owner:  nobody
  Mohite                             |
                   Type:  Bug        |         Status:  new
              Component:  Database   |        Version:  2.1
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 While defining custom manager to the User model we usually override two
 methods `create_user` and `create_superuser` but those methods don't get
 called when you try to create user using django admin. I'm not sure where
 else `create_user` method is being used apart from tests in django source.

 I want to change the email case while creating the email so i've
 overridden `create_user` method but it doesn't work(I know save override
 would be the alternative to this but wanted to know the reason why
 `create_user` isn't be being used while creating user in django admin)

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

Reply via email to