mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #23609 -- Fixed IntegrityError that prevented altering a NULL column into a NOT NULL one due to existing rows
Thanks to Simon Charette, Loic Bistuer and Tim Graham for the review.
This commit is contained in:
committed by
Loic Bistuer
parent
15d350fbce
commit
f633ba778d
@@ -106,3 +106,7 @@ Bugfixes
|
||||
|
||||
* Made :func:`~django.utils.http.urlsafe_base64_decode` return the proper
|
||||
type (byte string) on Python 3 (:ticket:`23333`).
|
||||
|
||||
* Added a prompt to the migrations questioner when removing the null constraint
|
||||
from a field to prevent an IntegrityError on existing NULL rows
|
||||
(:ticket:`23609`).
|
||||
|
||||
Reference in New Issue
Block a user