Skip to main content

A simple django app that provides out of the box algerian province and municipality models and their respective data fixtures.

Project description

https://badge.fury.io/py/django-geodz.svg Downloads License

django-geodz is a simple django app that provides out of the box algerian province and municipality models and their respective data fixtures.

you can use it for your own algeria-related projects

also included:

  • admin support

  • fr locale translation

  • support for both django 1.7 migrations, aswell as south migrations (requires atleast south 1.0)

Requirements

  • django-geoposition

Quick start

  1. Add “geodz” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        ...
        'geoposition',
        'geodz',
    )
  2. Run python manage.py migrate to create/migrate the models and load the data fixtures.

  3. use the provided models:

    from geodz.models import Province, Municipality
  1. Profit !!!!

Changelog

April 25th, 2015

  • new Region model

  • provinces now have a one-to many foreign key to regions

  • initial data fixture updated

  • south migrations deprecated / no longer supported / kept as is

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

django-geodz-0.6.2.tar.gz (42.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_geodz-0.6.2-py3-none-any.whl (45.2 kB view details)

Uploaded Python 3

File details

Details for the file django-geodz-0.6.2.tar.gz.

File metadata

  • Download URL: django-geodz-0.6.2.tar.gz
  • Upload date:
  • Size: 42.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for django-geodz-0.6.2.tar.gz
Algorithm Hash digest
SHA256 49a40a476626136fb0527d90d2cdc2a65d8d3d8670e6e965f2d1c0cc37e6f423
MD5 93c96dab4d75b46485c45177cc3d8760
BLAKE2b-256 31609b9f0efb106597105421368239782fa6ecfe1ea0a05b47039ba96b631560

See more details on using hashes here.

File details

Details for the file django_geodz-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: django_geodz-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 45.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for django_geodz-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 244aba47fd720053a37766d6844ffc7fb393bcb14e6f0f2647f38adf2a81284e
MD5 b3b356891168df5d3a7bbb14fe17074f
BLAKE2b-256 96288388836990f19104fbff758f1d472ebf89bdeeedf0a1dbf1fe4f7e75f4df

See more details on using hashes here.

Supported by

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