Skip to main content

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

  1. Add dz_locations to your INSTALLED_APPS in settings.py:

    INSTALLED_APPS = [
        ...
        'dz_locations',
    ]
    
  2. Run the management command to load data:

    python manage.py loaddz
    
  3. 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:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Commit your changes and push them to your fork.
  4. 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

dz_locations-0.1.4.tar.gz (58.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dz_locations-0.1.4-py3-none-any.whl (62.2 kB view details)

Uploaded Python 3

File details

Details for the file dz_locations-0.1.4.tar.gz.

File metadata

  • Download URL: dz_locations-0.1.4.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

Hashes for dz_locations-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6ac70814072ee43383ba073d37afc9cf36c9735a6984b46501583a1a2815718f
MD5 cbb8a0b7988b6df292b99b484bfcacc3
BLAKE2b-256 a3250c451fc3edf29fe01dcf490fb4812cdf763051e3f3f6a44e9de473393d30

See more details on using hashes here.

File details

Details for the file dz_locations-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: dz_locations-0.1.4-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

Hashes for dz_locations-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 704065c96d99bc11095bc9a57567642a9f41076849e1d50af0f24756891b2baa
MD5 2501082da0b01436e9cc9b5be99247b9
BLAKE2b-256 d5d0d8edb32f0234f6ba030f8c55bf88c7fbe5d9b7405e312c68104f423d1c9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page