Django-Algereography allows you to add Models of Algerian Wilayas and Dairas to your existing or new cool Django project .
- 58 Wilayas.
- 548 Dairas.
- Support both Arabic and French languages.
- Built in models relationships, so you can for example do: Daira.objects.get(pk=1).wilaya
to get the Wilaya of Daira with the id=1.
pip install algereography
# or
pip install django-algerography
INSTALLED_APPS = [
# ... other django app,
'algerography',
# or
'django_algerography'
]
python manage.py load_algerography
Thank you for considering contributing to Django-Algereography project! Feel free to contribute in any way, we welcome every contribution.
Django-Algereography project is an open-sourced software licensed under the MIT license
This project was inspied by Laravel-algerography.