Skip to main content

ArtD Location.

Project description

ArtD Location

ArtD location is a package that makes it possible to have countries, regions and cities with their respective coding, by default we have all the regions and cities of Colombia.

  1. Add "artd_location" to your INSTALLED_APPS setting like this:

.. code-block:: python

INSTALLED_APPS = [
    'artd_location',
]
  1. Run the migration commands:

.. code-block::

    python manage.py makemigrations
    python manage.py migrate
  1. Run the seeder data:

.. code-block::

    python manage.py create_countries
    python manage.py create_colombian_regions
    python manage.py create_colombian_cities

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

artd-location-1.0.2.tar.gz (39.7 kB view hashes)

Uploaded Source

Built Distribution

artd_location-1.0.2-py3-none-any.whl (45.0 kB view hashes)

Uploaded Python 3

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