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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wtform_address-0.1.1.tar.gz.
File metadata
- Download URL: wtform_address-0.1.1.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b39fe8c93e6811292f1fb35d886ab65c88048455691956298a42d067a168b152
|
|
| MD5 |
cd85c7bed277847139c47cbeedc8701a
|
|
| BLAKE2b-256 |
faa2501e3059e5edc4784685ee08850f031992310f921e5c2055a2c4eddc7016
|
File details
Details for the file wtform_address-0.1.1-py3-none-any.whl.
File metadata
- Download URL: wtform_address-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
955d1e0ebaa5cca6c1b6c15a385bef2b35ce52e387cea898adec7365e8d0bc9a
|
|
| MD5 |
64b5353ff79ba160ef6097cdde585f81
|
|
| BLAKE2b-256 |
afd760c168d1d12286ee7c5118ee989b1c910b577680b1d9ee1773462858be3e
|