mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-23 15:54:16 +03:00
Added docstring
This commit is contained in:
parent
27ac5a3680
commit
a6fefe78ff
|
@ -1190,6 +1190,9 @@ class ChoiceField(Field):
|
|||
return self.choice_strings_to_values.get(six.text_type(value), value)
|
||||
|
||||
def iter_options(self):
|
||||
"""
|
||||
Helper method for use with templates rendering select widgets.
|
||||
"""
|
||||
class StartOptionGroup(object):
|
||||
start_option_group = True
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user