Object that allows settings to be accessed with attributes.
Project description
Django Settings Holder
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
Built Distribution
Hashes for django_settings_holder-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ab0f2dabf5a1c79ec9e95e97a296808e0f2c48f6f9aa1da1b77b433ee1e2f9e |
|
MD5 | 9e8fe562040b44caa4143dbe8682a442 |
|
BLAKE2b-256 | 1e360ea7d1e6e782c8c8ec7e8a8f0614526e732e3728dee7778d575f35267e3c |
Hashes for django_settings_holder-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a65f888fc1e8427a807be72d43d5f3f242163e0a0eaf33a393592e6fff3e102 |
|
MD5 | 8dd1f49694a8825066fcd809aa218f3c |
|
BLAKE2b-256 | 109603b2ed31f267eeaf7d339d1f2ecd95d6ab6cb32a7dca3c3338e90a124c9b |