Skip to main content
https://img.shields.io/pypi/v/django-hierarkey.svg https://readthedocs.org/projects/django-hierarkey/badge/?version=latest

This package allows you to attach a key-value store to a model, e.g. to store preferences of an user or a customer. The package supports arbitrary datatypes, defaults and model hierarchies, i.e. you can define a different model instance as your instance’s parent and the values of the parent instance will be used as default values for the child instances.

This approach has been in use in pretix for quite a while, so it has been tested in production.

Tested with Python 3.11-3.14 and Django 5.2-6.0.

Security

If you discover a security issue, please contact us at security@pretix.eu and see our Responsible Disclosure Policy further information.

License

The code in this repository is published under the terms of the Apache License. See the LICENSE file for the complete license text.

This project is maintained by Raphael Michel <mail@raphaelmichel.de>. See the AUTHORS file for a list of all the awesome folks who contributed to this project.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_hierarkey-2.0.2.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

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

django_hierarkey-2.0.2-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file django_hierarkey-2.0.2.tar.gz.

File metadata

  • Download URL: django_hierarkey-2.0.2.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for django_hierarkey-2.0.2.tar.gz
Algorithm Hash digest
SHA256 234250668260efda61e86c78949bef9a348cfb8be047d0c1198db7ebb6608d8e
MD5 30a0644ce3a619f7e05a8dc571f86d76
BLAKE2b-256 5104fc3f8056a965a548a7017a457075fb30f3deea8c44b9b7a6581dd124d5db

See more details on using hashes here.

File details

Details for the file django_hierarkey-2.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_hierarkey-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5ec3d604f36a4165311759f1cb02f9dcc0c77544b6f6f81adf116bcd0fc0d391
MD5 6b261018ecd548ee506bddd0562aed68
BLAKE2b-256 99cadd94b8089218ec346f3daf2b8abdf566285389b17f165792d36d5b7857a0

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 Sentry Error logging StatusPage Status page