forms¶
- class siruta.forms.LocalityField(*, county_field='county', **kwargs)[source]¶
An integer field with choices.
The default widget dynamically changes choices depending on another form field named
"county". Overridecounty_fieldto change this.Values are ordered by type. See
siruta.cli.SIRUTA_TYPE_REORDERfor exact precedence.