Skip to content
Flexible and powerful hierarchical key-value store for your Django models
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demoproject Fix migrations in demo and test apps Apr 9, 2017
docs Use correct method signatures in docs Jul 12, 2017
hierarkey Bump version Jul 9, 2017
tests
.coveragerc Add tests Apr 8, 2017
.gitignore
.travis.yml
AUTHORS
LICENSE Initial commit Apr 7, 2017
README.rst Test with Django 2.0 and 2.1 Aug 5, 2018
requirements_dev.txt Working prototype Apr 7, 2017
requirements_docs.txt Initial commit Apr 7, 2017
setup.cfg Fix style problems Apr 8, 2017
setup.py
tox.ini Test with Django 2.0 and 2.1 Aug 5, 2018

README.rst

django-hierarkey -- Hierarchical key-value store

https://readthedocs.org/projects/django-hierarkey/badge/?version=latest https://travis-ci.org/raphaelm/django-hierarkey.svg?branch=master

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-2.1.

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.

You can’t perform that action at this time.