Skip to content

Commit

Permalink
Fixed #20446 -- Documentation for SmallIntegerField does not clarify …
Browse files Browse the repository at this point in the history
…'small'
  • Loading branch information
mxsasha committed May 18, 2013
1 parent d5ce2ff commit 56e2f6c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/ref/models/fields.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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``
-------------
Expand Down Expand Up @@ -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``
-------------
Expand Down

0 comments on commit 56e2f6c

Please sign in to comment.