Permalink
Browse files

Merge pull request #1128 from erikr/improve-smallint-docs

Fixed #20446 -- Documentation for SmallIntegerField does not clarify 'small'
  • Loading branch information...
2 parents 96cabba + 56e2f6c commit 78de9b19027d3aee268797ad8899ac7283024c0c @timgraham timgraham committed May 18, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 docs/ref/models/fields.txt
View
6 docs/ref/models/fields.txt
@@ -889,7 +889,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``
-------------
@@ -917,7 +918,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``
-------------

0 comments on commit 78de9b1

Please sign in to comment.