Ticket #14307: choice-tuple.diff

File choice-tuple.diff, 599 bytes (added by Adam Vandenberg, 14 years ago)
  • docs/ref/forms/fields.txt

    diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
    index 0dd9095..3082eb1 100644
    a b Takes one extra required argument:  
    351351
    352352.. attribute:: ChoiceField.choices
    353353
    354     An iterable (e.g., a list or tuple) of 2-tuples to use as choices for this
    355     field.
     354    An iterable (e.g., a list or tuple) of 2-tuples to use as choices for
     355    this field. The first element in each tuple is the value. The second
     356    element is the human-readable name for the option.
    356357
    357358``TypedChoiceField``
    358359~~~~~~~~~~~~~~~~~~~~
Back to Top