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.0.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file ml-ibge-cities-1.0.0.tar.gz
.
File metadata
- Download URL: ml-ibge-cities-1.0.0.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 | 080109bf76a56273b30b618aae0b7fb36f88b44529093926637d412bf7f6f5ce |
|
MD5 | 74365d02d5dbd7e1a9f552dbe1eaebb0 |
|
BLAKE2b-256 | 99419b0e70b99ae4e7e683dff2608506839828061cc3202cb4c9e2ac2ec5475a |
File details
Details for the file ml_ibge_cities-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: ml_ibge_cities-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.9 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 | ba08b8d8b12c2dc8c97a7934298e2cd69cb89cea62504af8990a6d0d8ae7d785 |
|
MD5 | b0ddc594e40edf84af610c31d1ffb2ad |
|
BLAKE2b-256 | 603ca833bd01e6cfd133597453962bd52a1ef69d1b2eae494cd6828f552aac98 |