summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2014-03-03 20:12:42 -0500
committerSimon Charette <charette.s@gmail.com>2014-03-25 14:31:20 -0400
commit1506c71a95cd7f58fbc6363edf2ef742c58d2487 (patch)
tree90d1a0bd7eaf76eadae20b8655be68f9e6f95917 /docs
parent9b7ba8af1b4ddb539cd69cbec9645cd873db7624 (diff)
Fixed #12030 -- Validate integer field range at the model level.
Thanks to @timgraham for the review.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.7.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt
index a058d40054..8cb0961a4e 100644
--- a/docs/releases/1.7.txt
+++ b/docs/releases/1.7.txt
@@ -678,6 +678,11 @@ Models
Previously this used to work if the field accepted integers as input as it
took the primary key.
+* Integer fields are now validated against database backend specific min and
+ max values based on their :meth:`internal_type <django.db.models.Field.get_internal_type>`.
+ Previously model field validation didn't prevent values out of their associated
+ column data type range from being saved resulting in an integrity error.
+
Signals
^^^^^^^