Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
Erik Romijn authored timgraham committed

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. 6  docs/ref/models/fields.txt
6  docs/ref/models/fields.txt
@@ -867,7 +867,8 @@ The value ``0`` is accepted for backward compatibility reasons.
867 867
 .. class:: PositiveSmallIntegerField([**options])
868 868
 
869 869
 Like a :class:`PositiveIntegerField`, but only allows values under a certain
870  
-(database-dependent) point.
  870
+(database-dependent) point. Values up to 32767 are safe in all databases
  871
+supported by Django.
871 872
 
872 873
 ``SlugField``
873 874
 -------------
@@ -895,7 +896,8 @@ of some other value.  You can do this automatically in the admin using
895 896
 .. class:: SmallIntegerField([**options])
896 897
 
897 898
 Like an :class:`IntegerField`, but only allows values under a certain
898  
-(database-dependent) point.
  899
+(database-dependent) point. Values from -32768 to 32767 are safe in all databases
  900
+supported by Django.
899 901
 
900 902
 ``TextField``
901 903
 -------------

0 notes on commit 38fbc83

Please sign in to comment.
Something went wrong with that request. Please try again.