A Django select cities web-based ibge.
Project description
ML IBGE CITIES
Quick start
- Add
ml_ibge_cities
in your Djangosettings.py
:
INSTALLED_APPS = [
...
'ml_ibge_cities',
...
]
- Add in your
admin.py
file the fallow code:
from ml_ibge_cities.admin import MLIBGECitiesAdmin
@admin.register(Example)
class ExampleAdmin(MLIBGECitiesAdmin):
pass
- Add in the
forms.py
file the fallow code:
from ml_ibge_cities.forms import MLIBGECitiesForm
class ExampleAdminForm(MLIBGECitiesForm):
class Meta:
...
fields = (... "state", "city", ...)
...
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
ml-ibge-cities-1.0.1.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file ml-ibge-cities-1.0.1.tar.gz
.
File metadata
- Download URL: ml-ibge-cities-1.0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b72a76e19de6afe91cbfc91e98539e61777df40dab2f8bfe665975e8f5ba5df |
|
MD5 | d5064351c99a7f3f594754571b5f7139 |
|
BLAKE2b-256 | 496ec80abf4b666ba436e0797d8ef3b0cae484a9b927df1dc44752bdc963a460 |
File details
Details for the file ml_ibge_cities-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: ml_ibge_cities-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 918e647d3271bee9167cc5b0af49bd623d80fce4cb6cf4d2d0dcd878249fbb69 |
|
MD5 | 372f6e1f5acd50caadc4efb76284f892 |
|
BLAKE2b-256 | 6367c9e02c1eec7b33a8ac0151ed611928d45dc1c8d846e861b0612a6d3845e1 |