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.
Metadata
Release files for django-hierarkey 2.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_hierarkey-2.0.2.tar.gz | 16.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_hierarkey-2.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.3 kB
Release files / django_hierarkey-2.0.2.tar.gz
| Download URL | django_hierarkey-2.0.2.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
234250668260efda61e86c78949bef9a348cfb8be047d0c1198db7ebb6608d8e
|
|
BLAKE2b-256 checksum How to use checksums |
5104fc3f8056a965a548a7017a457075fb30f3deea8c44b9b7a6581dd124d5db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / django_hierarkey-2.0.2-py3-none-any.whl
| Download URL | django_hierarkey-2.0.2-py3-none-any.whl |
|---|---|
| Size | 14.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ec3d604f36a4165311759f1cb02f9dcc0c77544b6f6f81adf116bcd0fc0d391
|
|
BLAKE2b-256 checksum How to use checksums |
99cadd94b8089218ec346f3daf2b8abdf566285389b17f165792d36d5b7857a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|