Debian Codegraph @

/

debian django-dynamic-preferences 1.17.0-1debian python3-django-dynamic-preferences python django-dynamic-preferences 1.17.0 debianhtmlinimakefilepythonshell 65 files · 1367 symbols
View dependency graph

Depends on

README (full)

django-dynamic-preferences

:target: https://badge.fury.io/py/django-dynamic-preferences

:target: http://django-dynamic-preferences.readthedocs.org/en/latest/

:target: https://github.com/agateblue/django-dynamic-preferences/actions/workflows/tests.yml

:alt: Backers on Open Collective :target: #backers

:alt: Sponsors on Open Collective :target: #sponsors

Dynamic-preferences is a Django app, BSD-licensed, designed to help you manage your project settings. While most of the time, a settings.py file is sufficient, there are some situations where you need something more flexible such as:

  • per-user settings (or, generally speaking, per instance settings)

  • settings change without server restart

For per-instance settings, you could actually store them in some kind of profile model. However, it means that every time you want to add a new setting, you need to add a new column to the profile DB table. Not very efficient.

Dynamic-preferences allow you to register settings (a.k.a. preferences) in a declarative way. Preferences values are serialized before storage in database, and automatically deserialized when you need them.

With dynamic-preferences, you can update settings on the fly, through django's admin or custom forms, without restarting your application.

The project is tested and work under Python 3.7, 3.8, 3.9, 3.10 and 3.11 and with django 3.2 and 4.2.

Features

  • Simple to setup

  • Admin integration

  • Forms integration

  • Bundled with global and per-user preferences

  • Can be extended to other models if need (e.g. per-site preferences)

  • Integrates with django caching mechanisms to improve performance

Documentation

The full documentation is at https://django-dynamic-preferences.readthedocs.org.

Changelog

See https://django-dynamic-preferences.readthedocs.io/en/latest/history.html

Contributing

See https://django-dynamic-preferences.readthedocs.org/en/latest/contributing.html

Credits

+++++++

Contributors

------------

This project exists thanks to all the people who contribute!

Backers

-------

Thank you to all our backers! Become a backer_.

:target: https://opencollective.com/django-dynamic-preferences#backers

__ Backer

Sponsors

--------

Support us by becoming a sponsor. Your logo will show up here with a link to your website. Become a sponsor_.

:target: https://opencollective.com/django-dynamic-preferences/sponsor/0/website

__ Sponsor

dir debian/
dir django_dynamic_preferences.egg-info/
dir dynamic_preferences/
dir tests/
file AUTHORS.rst
file CONTRIBUTING.rst
file HISTORY.rst
file LICENSE
file MANIFEST.in
file PKG-INFO
file README.rst
file setup.cfg
file setup.py