Physical address fields (CountrySelectField, StateSelectField) for wtform
Project description
Wtform address fields: CountrySelectField and StateSelectField
Fields that are helpful when dealing with physical addresses such as a CountrySelectField and a StateSelectField.
Install
pip install wtform_address
Usage
from wtforms import Form
from wtform_address import CountrySelectField, StateSelectField
class MyForm(Form):
country = CountrySelectField(default="US")
state = StateSelectField(default="US-CA")
Credits
Credits to @mekza for his initial gist.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for wtform_address-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91563fca4172b4dcdc2ae9578ad1119df92d225fdb8f59baec1d2fe1fab57a51 |
|
MD5 | 13d5adc7ffb28823b292b699cb381e49 |
|
BLAKE2b-256 | f3bbc44194ea7693fa3ae372ccf5221aead47df3339e73e8803e1037a49cfb1c |