diff options
| author | Mike Fogel <mike@fogel.ca> | 2014-04-11 23:58:56 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-04-30 07:56:52 -0400 |
| commit | 7fd1b35ed794e7d0a2a18f6ac168adba25a7de23 (patch) | |
| tree | 6faef8b31515c3206b271abbd971f8923248e026 /docs | |
| parent | 8ec388a69da13a8a5cf82604a26abe13be7dd1cb (diff) | |
Fixed #22537 -- Add tests and improved docs for field subclass with choices.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/fields.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index de11543126..8d4e0ca3ca 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'), |
