Skip to main content

Hierarchical key-value store for django

Project description

https://img.shields.io/pypi/v/django-hierarkey.svg https://readthedocs.org/projects/django-hierarkey/badge/?version=latest https://travis-ci.org/raphaelm/django-hierarkey.svg?branch=master https://codecov.io/gh/raphaelm/django-hierarkey/branch/master/graph/badge.svg

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

django-hierarkey-1.0.3.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

django_hierarkey-1.0.3-py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page