diff options
| author | Erik Romijn <eromijn@solidlinks.nl> | 2013-05-18 17:16:07 +0200 |
|---|---|---|
| committer | Erik Romijn <eromijn@solidlinks.nl> | 2013-05-18 17:16:07 +0200 |
| commit | 56e2f6ccae76a6f0a7f1d64677bf29e11518e5c6 (patch) | |
| tree | 47552a2d0c00ae6e6707602a473b2ef8e46c47f9 /docs/ref | |
| parent | d5ce2ff5e485bf94fcade340bc803ba4671bd95a (diff) | |
Fixed #20446 -- Documentation for SmallIntegerField does not clarify 'small'
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/fields.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index 99ba78cb09..da5fe9bf60 100644 --- a/docs/ref/models/fields.txt +++ b/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`` ------------- |
