Skip to main content

Object that allows settings to be accessed with attributes.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_settings_holder-0.1.2.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

django_settings_holder-0.1.2-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page