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 Distribution
wtform_address-0.1.1.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for wtform_address-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 955d1e0ebaa5cca6c1b6c15a385bef2b35ce52e387cea898adec7365e8d0bc9a |
|
MD5 | 64b5353ff79ba160ef6097cdde585f81 |
|
BLAKE2b-256 | afd760c168d1d12286ee7c5118ee989b1c910b577680b1d9ee1773462858be3e |