mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[1.10.x] Fixed #27111 -- Fixed KeyError if USERNAME_FIELD isn't in UserCreationForm.fields.
Backport of 3c18f8a3d2 from master
This commit is contained in:
committed by
Tim Graham
parent
6f006f40f7
commit
c4ee93128f
@@ -76,3 +76,6 @@ Bugfixes
|
||||
* Included the already applied migration state changes in the ``Apps`` instance
|
||||
provided to the ``pre_migrate`` signal receivers to allow ``ContentType``
|
||||
renaming to be performed on model rename (:ticket:`27100`).
|
||||
|
||||
* Reallowed subclassing ``UserCreationForm`` without ``USERNAME_FIELD`` in
|
||||
``Meta.fields`` (:ticket:`27111`).
|
||||
|
||||
Reference in New Issue
Block a user