summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorErik Romijn <eromijn@solidlinks.nl>2013-05-18 17:16:07 +0200
committerTim Graham <timograham@gmail.com>2013-05-18 11:28:39 -0400
commit38fbc8384748140dc4b94818d38c0ecbb8fb77d5 (patch)
treef5af98f76a37643afa8d3b4f935376946b04fb34 /docs/ref/models
parentdf5a8a07fc909e37016889bc1d37c53c90e747c5 (diff)
[1.5.x] Fixed #20446 -- Documentation for SmallIntegerField does not clarify 'small'
Backport of 56e2f6ccae from master
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/fields.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 3160e7b2ab..7eca8fe5a0 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -867,7 +867,8 @@ The value ``0`` is accepted for backward compatibility reasons.
.. class:: PositiveSmallIntegerField([**options])
Like a :class:`PositiveIntegerField`, but only allows values under a certain
-(database-dependent) point.
+(database-dependent) point. Values up to 32767 are safe in all databases
+supported by Django.
``SlugField``
-------------
@@ -895,7 +896,8 @@ of some other value. You can do this automatically in the admin using
.. class:: SmallIntegerField([**options])
Like an :class:`IntegerField`, but only allows values under a certain
-(database-dependent) point.
+(database-dependent) point. Values from -32768 to 32767 are safe in all databases
+supported by Django.
``TextField``
-------------