Skip to main content

Regional reference data for Volkanos services - Country, Currency and Language models with admin API

Project description

django-regional

Regional reference data for Volkanos services — Country, Currency and Language models with seed data (countries with dialling prefixes, currency symbols, default currencies), a YAML fixture and a read-only admin API (/api/regional/v2/admin/).

Installation

pip install entirius-django-regional

Add the app to your project and run migrations:

INSTALLED_APPS = [
    ...
    "django_regional",
]
python manage.py migrate
python manage.py loaddata regional-defaults   # optional: EU defaults fixture

Mount the admin API:

urlpatterns = [
    ...
    path("", include("django_regional.urls")),
]

Development

make install     # sync dependencies (uv)
make check       # lint + format check (ruff)
make test        # test suite (pytest + pytest-django, sqlite in-memory)

Development and agent instructions: AGENTS.md.

License

Mozilla Public License 2.0 — see LICENSE.

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

entirius_django_regional-2.0.0.tar.gz (65.2 kB view details)

Uploaded Source

Built Distribution

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

entirius_django_regional-2.0.0-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file entirius_django_regional-2.0.0.tar.gz.

File metadata

  • Download URL: entirius_django_regional-2.0.0.tar.gz
  • Upload date:
  • Size: 65.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for entirius_django_regional-2.0.0.tar.gz
Algorithm Hash digest
SHA256 7502d90dc0de3528fb8f6d7e5a88ee36e194eac38ecf30b219e4db9a4ec07754
MD5 2139f1b8619254b992b6bcd45a2e3ff9
BLAKE2b-256 9c5d52f3e0268c53ace6efd1d4f251482ed5af09ec46f815cfffa02d1cf4d642

See more details on using hashes here.

File details

Details for the file entirius_django_regional-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: entirius_django_regional-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for entirius_django_regional-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 980c67da0ececb0117a27b6f176b2391299fe7019b52f4bb5f6523be12d3daeb
MD5 4a470709fa8307546117d8f7ff58554a
BLAKE2b-256 cabf8e4913d606ea6ad29196bb219d631eb159ab5c9318b0a75484d07fa44dce

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