Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raphaelm/django-hierarkey
Flexible and powerful hierarchical key-value store for your Django models
https://github.com/raphaelm/django-hierarkey
django django-models hierarchy key-value python
Last synced: 19 days ago
JSON representation
Flexible and powerful hierarchical key-value store for your Django models
- Host: GitHub
- URL: https://github.com/raphaelm/django-hierarkey
- Owner: raphaelm
- License: apache-2.0
- Created: 2017-04-07T21:43:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-03T10:21:18.000Z (7 months ago)
- Last Synced: 2024-10-17T10:13:21.855Z (29 days ago)
- Topics: django, django-models, hierarchy, key-value, python
- Language: Python
- Homepage: https://django-hierarkey.readthedocs.io/
- Size: 82 KB
- Stars: 18
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
django-hierarkey -- Hierarchical key-value store
================================================.. image:: https://img.shields.io/pypi/v/django-hierarkey.svg
:target: https://pypi.python.org/pypi/django-hierarkey.. image:: https://readthedocs.org/projects/django-hierarkey/badge/?version=latest
:target: https://django-hierarkey.readthedocs.io/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 . See the
AUTHORS file for a list of all the awesome folks who contributed to this project... _pretix: https://github.com/pretix/pretix