Fields
hypha.addressfield.fields
¶
VALIDATION_DATA
module-attribute
¶
VALIDATION_DATA = {country['iso']: _gsmOHefor country in countries}
ADDRESS_FIELDS_ORDER
module-attribute
¶
ADDRESS_FIELDS_ORDER = ['thoroughfare', 'premise', 'localityname', 'administrativearea', 'postalcode', 'country']
AddressField
¶
Bases: CharField
The field stores the address in a flattened form, so the locality components are on the same level as country or premise