Kaydet (Commit) 78de9b19 authored tarafından Tim Graham's avatar Tim Graham

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

Fixed #20446 -- Documentation for SmallIntegerField does not clarify 'small'
...@@ -889,7 +889,8 @@ The value ``0`` is accepted for backward compatibility reasons. ...@@ -889,7 +889,8 @@ The value ``0`` is accepted for backward compatibility reasons.
.. class:: PositiveSmallIntegerField([**options]) .. class:: PositiveSmallIntegerField([**options])
Like a :class:`PositiveIntegerField`, but only allows values under a certain 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`` ``SlugField``
------------- -------------
...@@ -917,7 +918,8 @@ of some other value. You can do this automatically in the admin using ...@@ -917,7 +918,8 @@ of some other value. You can do this automatically in the admin using
.. class:: SmallIntegerField([**options]) .. class:: SmallIntegerField([**options])
Like an :class:`IntegerField`, but only allows values under a certain 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`` ``TextField``
------------- -------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment