From 089047331d972c0ee58d13476fc54f2118bf1359 Mon Sep 17 00:00:00 2001 From: Andriy Sokolovskiy Date: Mon, 15 Dec 2014 16:14:39 +0200 Subject: Fixed #23987 -- Made SQLite SchemaEditor always use effective_default(). --- docs/releases/1.7.2.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.7.2.txt b/docs/releases/1.7.2.txt index 60e4c15e50..2f49d7d889 100644 --- a/docs/releases/1.7.2.txt +++ b/docs/releases/1.7.2.txt @@ -135,3 +135,8 @@ Bugfixes growth in Django's own test suite (:ticket:`23969`). * Fixed timesince filter translations in Korean (:ticket:`23989`). + +* Fixed the SQLite ``SchemaEditor`` to properly add defaults in the absence of + a user specified ``default``. For example, a ``CharField`` with ``blank=True`` + didn't set existing rows to an empty string which resulted in a crash when + adding the ``NOT NULL`` constraint (:ticket:`23987`). -- cgit v1.3