summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-03-24 13:47:01 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-03-24 13:47:01 +0100
commite16c48e001ccd06830bb0bfd1d20e22ec30fce59 (patch)
tree3281a2007b0df0ad3653117dbd23a81acda5dea2 /docs/ref
parentae417dd4d569669e8e1d8f15e643c6ba0820aafe (diff)
Fixed #15124 -- Changed the default for BooleanField.
Thanks to the many contributors who updated and improved the patch over the life of this ticket.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/models/fields.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 421de74c62..f22436e5fe 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -377,6 +377,10 @@ The default form widget for this field is a
If you need to accept :attr:`~Field.null` values then use
:class:`NullBooleanField` instead.
+.. versionchanged:: 1.6
+ The default value of ``BooleanField`` was changed from ``False`` to
+ ``None`` when :attr:`Field.default` isn't defined.
+
``CharField``
-------------