diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.6.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/releases/1.6.txt b/docs/releases/1.6.txt index c01128c684..efc1297265 100644 --- a/docs/releases/1.6.txt +++ b/docs/releases/1.6.txt @@ -601,6 +601,13 @@ Miscellaneous ``django.contrib.admindocs.middleware`` because it is an implementation detail of admindocs, proven not to be reusable in general. +* :class:`~django.db.models.GenericIPAddressField` will now only allow + ``blank`` values if ``null`` values are also allowed. Creating a + ``GenericIPAddressField`` where ``blank`` is allowed but ``null`` is not + will trigger a model validation error because ``blank`` values are always + stored as ``null``. Previously, storing a ``blank`` value in a field which + did not allow ``null`` would cause a database exception at runtime. + Features deprecated in 1.6 ========================== |
