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.

Files for django-hierarkey, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size django_hierarkey-1.0.3-py3-none-any.whl (9.6 kB) File type Wheel Python version 3.6 Upload date Hashes View hashes
Filename, size django-hierarkey-1.0.3.tar.gz (7.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page