Hierarchical key-value store for django
Project description
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.4-3.6 and Django 1.9-1.11.
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.
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
File details
Details for the file django-hierarkey-1.0.0.tar.gz
.
File metadata
- Download URL: django-hierarkey-1.0.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67499fadae85eccc3392ad764b9dfb5b664835bb7cf9d7b406ac366fa4451a6d |
|
MD5 | 38704a5131160eef74e0b3c5ca3e6da5 |
|
BLAKE2b-256 | c0ceaeef2ea5ccc99ac4890311550fd63fa31dddf2ec15d1d72615044121e60c |
File details
Details for the file django_hierarkey-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: django_hierarkey-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c9a86df3bec452a446c997a65066dd7c039af50e9b5d790195f995fd875f475 |
|
MD5 | 3ba682bd09510298e727de5d6bc5f950 |
|
BLAKE2b-256 | 671594746d44a496ef98d42652ef04c60a6c4230530a106abe11859b2f6fb139 |