summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorMike Fogel <mike@fogel.ca>2014-04-11 23:58:56 -0400
committerTim Graham <timograham@gmail.com>2014-04-30 07:57:35 -0400
commitbb5c7e4e8d783bf3a2880ab5cf1fa57fd35cd198 (patch)
treefed00c72054a0ce1be074370c52a0603ce91a6fa /docs/ref
parent6d4df45e2927c45344b9f014f739466d61f808c8 (diff)
[1.7.x] Fixed #22537 -- Add tests and improved docs for field subclass with choices.
Backport of 7fd1b35ed7 from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/models/fields.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 3a43d51560..ed53b49e86 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -83,8 +83,8 @@ two items (e.g. ``[(A, B), (A, B) ...]``) to use as choices for this field. If
this is given, the default form widget will be a select box with these choices
instead of the standard text field.
-The first element in each tuple is the actual value to be stored, and the
-second element is the human-readable name. For example::
+The first element in each tuple is the actual value to be set on the model,
+and the second element is the human-readable name. For example::
YEAR_IN_SCHOOL_CHOICES = (
('FR', 'Freshman'),