﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29780	Using default UserModel in django.contrib.auth forms	Marcelo Canina		"In django.contrib.auth.forms.py we have the 
{{{
UserModel = get_user_model()
}}}

but User model is used twice in: UserCreationForm and UserChangeForm in theirs `meta` 
{{{
class UserChangeForm(forms.ModelForm):
    class Meta: 
        model = User
}}}


I think above forms should use UserModel instead of User so there is no need to subclass them to use project's user model when using a custom User model.
"	Cleanup/optimization	closed	contrib.auth	dev	Normal	duplicate			Unreviewed	0	0	1	0	1	0
