Algerian Wilaya & Commune data for Django projects
Project description
dz_locations
DZ Locations is a Django package that provides Algerian wilayas (states) and communes (municipalities) ready to use in your Django projects.
This package helps you quickly populate your database with all Algerian locations and access them via Django Admin or API.
Installation
Install the package via pip:
pip install dz-locations
Features
- Preloaded data for all Algerian wilayas and communes.
- Management commands to load data into your database.
- Easy integration with Django Admin.
- API-ready serializers for quick development.
Usage
-
Add
dz_locationsto yourINSTALLED_APPSinsettings.py:INSTALLED_APPS = [ ... 'dz_locations', ]
-
Run the management command to load data:
python manage.py loaddz
-
Access the data via Django Admin or use the serializers provided for API development.
Contributing
Contributions are welcome! If you'd like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Commit your changes and push them to your fork.
- Submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dz_locations-0.1.3.tar.gz.
File metadata
- Download URL: dz_locations-0.1.3.tar.gz
- Upload date:
- Size: 58.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fa83ecd51f7de9cf2abc395c88b53ec85ca863c83864066e78a1a3877e73397
|
|
| MD5 |
c5f75ceccc89d0e446514aff6322a87a
|
|
| BLAKE2b-256 |
837ac9a3c9791f8e5c9e25223f44f0f239402764924b34ea51fd18f81e39c8dd
|
File details
Details for the file dz_locations-0.1.3-py3-none-any.whl.
File metadata
- Download URL: dz_locations-0.1.3-py3-none-any.whl
- Upload date:
- Size: 62.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56b9f5169e6ce0cce8a52ef37507068da9e74236d2369e1abb6b6dd136b88523
|
|
| MD5 |
a8b9648d290a1198d3c896f671ed824c
|
|
| BLAKE2b-256 |
d1da12bcf42381f385d9052bd7ff840146ab3fab818add90ec3ce8ef347c87bf
|