A simple django app that provides out of the box algerian province and municipality models and their respective data fixtures.
Project description
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
Add “geodz” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'geoposition', 'geodz', )
Run python manage.py migrate to create/migrate the models and load the data fixtures.
use the provided models:
from geodz.models import Province, Municipality
- 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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size django_geodz-0.6.2-py3-none-any.whl (45.2 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size django-geodz-0.6.2.tar.gz (42.5 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for django_geodz-0.6.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 244aba47fd720053a37766d6844ffc7fb393bcb14e6f0f2647f38adf2a81284e |
|
MD5 | b3b356891168df5d3a7bbb14fe17074f |
|
BLAKE2-256 | 96288388836990f19104fbff758f1d472ebf89bdeeedf0a1dbf1fe4f7e75f4df |