#34245: Change standart User model in BaseUserCreationForm.Meta and
UserChangeForm.Meta in django.contrib.auth.forms to get_user_model()
-------------------------------------+-------------------------------------
               Reporter:  swayll     |          Owner:  nobody
                   Type:             |         Status:  new
  Cleanup/optimization               |
              Component:             |        Version:  4.1
  contrib.auth                       |       Keywords:  user, auth,
               Severity:  Normal     |  usercreationform
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 Please Change standart User model in BaseUserCreationForm.Meta in
 django.contrib.auth.forms to get_user_model()
 {{{
 class BaseUserCreationForm(forms.ModelForm):

     class Meta:
         model = get_user_model()
         fields = ("username",)
         field_classes = {"username": UsernameField}
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34245>
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/010701859174a268-8337bd4a-ac5e-4ae9-b0ee-7dff570ce0e8-000000%40eu-central-1.amazonses.com.

Reply via email to