cc1
v2.1
CC1 source code docs
|
Subclass of Django's select widget that allows disabling options. More...
Inherits Select.
Public Member Functions | |
def | render_option |
Subclass of Django's select widget that allows disabling options.
To disable an option, pass a dict instead of a string for its label, of the form:
Definition at line 45 of file widgets.py.
def src.wi.utils.widgets.SelectWithDisabled.render_option | ( | self, | |
selected_choices, | |||
option_value, | |||
option_label | |||
) |
Definition at line 49 of file widgets.py.