mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #27111 -- Fixed KeyError if USERNAME_FIELD isn't in UserCreationForm.fields.
This commit is contained in:
committed by
Tim Graham
parent
9aaeec337e
commit
3c18f8a3d2
@@ -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