Skip to main content

A Django select cities web-based ibge.

Project description

ML IBGE CITIES

Quick start

  1. Add ml_ibge_cities in your Django settings.py:
    INSTALLED_APPS = [
        ...
        'ml_ibge_cities',
        ...
    ]
  1. Add in your admin.py file the fallow code:
    from ml_ibge_cities.admin import MLIBGECitiesAdmin

    @admin.register(Example)
    class ExampleAdmin(MLIBGECitiesAdmin):
        pass
  1. 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


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)

Uploaded Source

Built Distribution

ml_ibge_cities-1.0.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

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

Hashes for ml-ibge-cities-1.0.0.tar.gz
Algorithm Hash digest
SHA256 080109bf76a56273b30b618aae0b7fb36f88b44529093926637d412bf7f6f5ce
MD5 74365d02d5dbd7e1a9f552dbe1eaebb0
BLAKE2b-256 99419b0e70b99ae4e7e683dff2608506839828061cc3202cb4c9e2ac2ec5475a

See more details on using hashes here.

File details

Details for the file ml_ibge_cities-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ml_ibge_cities-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba08b8d8b12c2dc8c97a7934298e2cd69cb89cea62504af8990a6d0d8ae7d785
MD5 b0ddc594e40edf84af610c31d1ffb2ad
BLAKE2b-256 603ca833bd01e6cfd133597453962bd52a1ef69d1b2eae494cd6828f552aac98

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page