﻿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
25557	Fix the UserCreationForm for custom user model	Pierre Dulac	nobody	"The admin user creation form was trying to set the `username` field of the User model, but that field does not exists for sure in case of a custom user model.

But this *field* should be referred as `User.USERNAME_FIELD` to fully support Usual and Custom user models.

I've prepared a pull request associated to it : https://github.com/django/django/pull/5432

Cheers"	Bug	closed	contrib.auth	1.9a1	Normal	duplicate	admin,custom,user		Unreviewed	0	0	0	0	0	0
