1
0
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:
Berker Peksag
2016-08-24 20:20:12 +03:00
committed by Tim Graham
parent 6f006f40f7
commit c4ee93128f
3 changed files with 22 additions and 2 deletions

View File

@@ -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`).