Commit a6fefe78 by Tom Christie

Added docstring

parent 27ac5a36
...@@ -1190,6 +1190,9 @@ class ChoiceField(Field): ...@@ -1190,6 +1190,9 @@ class ChoiceField(Field):
return self.choice_strings_to_values.get(six.text_type(value), value) return self.choice_strings_to_values.get(six.text_type(value), value)
def iter_options(self): def iter_options(self):
"""
Helper method for use with templates rendering select widgets.
"""
class StartOptionGroup(object): class StartOptionGroup(object):
start_option_group = True start_option_group = True
......
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