Skip to content

Django Algeography provide Wilaya and Daira information of Algeria

License

Notifications You must be signed in to change notification settings

bensarifathi/django-algeography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django-Algereography

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.

Installation

Step 1 - Install the package

pip install algereography
# or 
pip install django-algerography

Step 2 - Add the package to the installed app

INSTALLED_APPS = [
# ... other django app,
'algerography',
# or
'django_algerography'

]

Step 3 - Load data fixtures into your db

python manage.py load_algerography

Contributing

Thank you for considering contributing to Django-Algereography project! Feel free to contribute in any way, we welcome every contribution.

License

Django-Algereography project is an open-sourced software licensed under the MIT license

Credit

This project was inspied by Laravel-algerography.

About

Django Algeography provide Wilaya and Daira information of Algeria

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages