
Security News
Insecure Agents Podcast: Certified Patches, Supply Chain Security, and AI Agents
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.
django-dynamic-preferences
Advanced tools
.. image:: https://badge.fury.io/py/django-dynamic-preferences.png :target: https://badge.fury.io/py/django-dynamic-preferences
.. image:: https://readthedocs.org/projects/django-dynamic-preferences/badge/?version=latest :target: http://django-dynamic-preferences.readthedocs.org/en/latest/
.. image:: https://github.com/agateblue/django-dynamic-preferences/actions/workflows/tests.yml/badge.svg :target: https://github.com/agateblue/django-dynamic-preferences/actions/workflows/tests.yml
.. image:: https://opencollective.com/django-dynamic-preferences/backers/badge.svg :alt: Backers on Open Collective :target: #backers
.. image:: https://opencollective.com/django-dynamic-preferences/sponsors/badge.svg :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:
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.
The full documentation is at https://django-dynamic-preferences.readthedocs.org.
See https://django-dynamic-preferences.readthedocs.io/en/latest/history.html
See https://django-dynamic-preferences.readthedocs.org/en/latest/contributing.html
Credits
+++++++
Contributors
This project exists thanks to all the people who contribute!
.. image:: https://opencollective.com/django-dynamic-preferences/contributors.svg?width=890&button=false
Backers
Thank you to all our backers! Become a backer__.
.. image:: https://opencollective.com/django-dynamic-preferences/backers.svg?width=890 :target: https://opencollective.com/django-dynamic-preferences#backers
__ Backer_ .. _Backer: https://opencollective.com/django-dynamic-preferences#backer
Sponsors
Support us by becoming a sponsor. Your logo will show up here with a link to your website. Become a sponsor__.
.. image:: https://opencollective.com/django-dynamic-preferences/sponsor/0/avatar.svg :target: https://opencollective.com/django-dynamic-preferences/sponsor/0/website
__ Sponsor_ .. _Sponsor: https://opencollective.com/django-dynamic-preferences#sponsor
FAQs
Dynamic global and instance settings for your django project
We found that django-dynamic-preferences demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.

Security News
The planned feature introduces a review step before releases go live, following the Shai-Hulud attacks and a rocky migration off classic tokens that disrupted maintainer workflows.