Skip to content

MrThearMan/django-settings-holder

Repository files navigation

Django Settings Holder

Coverage Status GitHub Workflow Status PyPI GitHub GitHub Last Commit GitHub Issues Downloads

Python Version PyPI - Django Version

pip install django-settings-holder

Documentation: https://mrthearman.github.io/django-settings-holder/

Source Code: https://github.com/MrThearMan/django-settings-holder/

Contributing: https://github.com/MrThearMan/django-settings-holder/blob/main/CONTRIBUTING.md


This library provides utilities for Django extensions that want to define their own settings dictionaries. Settings can be included in a SettingsHolder that allows them to be accessed via attributes. User defined settings can be reloaded automatically to the SettingsHolder from the setting_changed signal. Functions in dot import notation are automatically imported so that the imported function is available in the SettingsHolder. You can also define validators for settings that will be run when the setting is first accessed.