A simple django app that provides out of the box algerian province and municipality models and their respective data fixtures
Python Makefile
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
geodz new region model & province fk, pypi version bump, fr-FR translations… Apr 28, 2015
.gitignore first commit Mar 23, 2014
LICENSE first commit Mar 23, 2014
MANIFEST.in
Makefile django 1.7 migrations and app config support Nov 9, 2014
README.rst new region model & province fk, pypi version bump, fr-FR translations… Apr 28, 2015
requirements.txt django 1.7 migrations and app config support Nov 9, 2014
setup.py new region model & province fk, pypi version bump, fr-FR translations… Apr 28, 2015

README.rst

django-geodz

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