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.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

ml_ibge_cities-1.0.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

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

Hashes for ml-ibge-cities-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7b72a76e19de6afe91cbfc91e98539e61777df40dab2f8bfe665975e8f5ba5df
MD5 d5064351c99a7f3f594754571b5f7139
BLAKE2b-256 496ec80abf4b666ba436e0797d8ef3b0cae484a9b927df1dc44752bdc963a460

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ml_ibge_cities-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 918e647d3271bee9167cc5b0af49bd623d80fce4cb6cf4d2d0dcd878249fbb69
MD5 372f6e1f5acd50caadc4efb76284f892
BLAKE2b-256 6367c9e02c1eec7b33a8ac0151ed611928d45dc1c8d846e861b0612a6d3845e1

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