Widgets
hypha.addressfield.widgets
¶
KeepOwnAttrsWidget
¶
CountrySelectWithChoices
¶
Bases: KeepOwnAttrsWidget
, Select
Source code in hypha/addressfield/widgets.py
KeepAttrsTextInput
¶
Bases: KeepOwnAttrsWidget
, TextInput
NestedMultiWidget
¶
Bases: KeepOwnAttrsWidget
, MultiWidget
Source code in hypha/addressfield/widgets.py
template_name
class-attribute
instance-attribute
¶
get_context
¶
decompress
¶
Source code in hypha/addressfield/widgets.py
value_from_datadict
¶
Source code in hypha/addressfield/widgets.py
LocalityWidget
¶
Bases: NestedMultiWidget
Source code in hypha/addressfield/widgets.py
template_name
class-attribute
instance-attribute
¶
components
class-attribute
instance-attribute
¶
components = {'locality_name': KeepAttrsTextInput, 'administrative_area': KeepAttrsTextInput, 'postal_code': KeepAttrsTextInput}
get_context
¶
decompress
¶
Source code in hypha/addressfield/widgets.py
value_from_datadict
¶
Source code in hypha/addressfield/widgets.py
AddressWidget
¶
Bases: NestedMultiWidget
Source code in hypha/addressfield/widgets.py
template_name
class-attribute
instance-attribute
¶
components
class-attribute
instance-attribute
¶
components = {'country': CountrySelectWithChoices, 'thoroughfare': KeepAttrsTextInput, 'premise': KeepAttrsTextInput, 'locality': LocalityWidget}