Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.5.x] Fixed #20446 -- Documentation for SmallIntegerField does not …

…clarify 'small'

Backport of 56e2f6c from master
  • Loading branch information...
commit 38fbc8384748140dc4b94818d38c0ecbb8fb77d5 1 parent df5a8a0
@erikr erikr authored timgraham committed
Showing with 4 additions and 2 deletions.
  1. +4 −2 docs/ref/models/fields.txt
View
6 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``
-------------
Please sign in to comment.
Something went wrong with that request. Please try again.