Skip to content

raphaelm/django-hierarkey

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
July 21, 2020 16:44
March 7, 2022 10:26
April 8, 2017 08:52
April 7, 2017 22:36
April 7, 2017 22:36
April 7, 2017 22:36
July 21, 2020 16:44
March 7, 2022 10:26

django-hierarkey -- Hierarchical key-value store

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.8-3.10 and Django 3.2-4.0.

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.