1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #28350 -- Fixed UnboundLocalError crash in RenameField with nonexistent field.

Thanks Tim for the review.
This commit is contained in:
Simon Charette
2017-06-30 08:35:58 -04:00
parent b9f7dce84b
commit 5cbcb36839
3 changed files with 24 additions and 11 deletions

View File

@@ -54,3 +54,6 @@ Bugfixes
* Prevented a primary key alteration from adding a foreign key constraint if
``db_constraint=False`` (:ticket:`28298`).
* Fixed ``UnboundLocalError`` crash in ``RenameField`` with nonexistent field
(:ticket:`28350`).