Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redouane/django-geodz
A simple django app that provides out of the box algerian province and municipality models and their respective data fixtures
https://github.com/redouane/django-geodz
Last synced: 3 months ago
JSON representation
A simple django app that provides out of the box algerian province and municipality models and their respective data fixtures
- Host: GitHub
- URL: https://github.com/redouane/django-geodz
- Owner: redouane
- License: bsd-2-clause
- Created: 2014-03-23T10:41:41.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-09-08T03:52:27.000Z (almost 5 years ago)
- Last Synced: 2024-03-18T15:27:33.232Z (4 months ago)
- Language: Python
- Size: 111 KB
- Stars: 1
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Lists
- awesome-algeria - django-geodz
README
============
django-geodz
============.. image:: https://badge.fury.io/py/django-geodz.svg
:target: http://badge.fury.io/py/django-geodz.. image:: https://pypip.in/download/django-geodz/badge.png
:target: https://pypi.python.org/pypi/django-geodz/
:alt: Downloads.. image:: https://pypip.in/license/django-geodz/badge.png
:target: https://pypi.python.org/pypi/django-geodz/
:alt: Licensedjango-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-geopositionQuick 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
3. 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