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
Release history Release notifications | RSS feed
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
File details
Details for the file django_settings_holder-0.2.2.tar.gz
.
File metadata
- Download URL: django_settings_holder-0.2.2.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a894e1a0e2573ff72ed752b97f5c8b03cda2745b64d3baff81db4ebd1e505b03 |
|
MD5 | f2076dd86371530cbb0332ada52e6f5a |
|
BLAKE2b-256 | 76a2eca3105add8254158ebc67b605a81aceeefc69238e3eae87ed50c2e2c438 |
File details
Details for the file django_settings_holder-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: django_settings_holder-0.2.2-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37f229d44686dd2dc6f82ff75213c90f633c5fea0492df9c5660c775fa5d6941 |
|
MD5 | 17818d1076aa5302a0c4805fa4c4c1e7 |
|
BLAKE2b-256 | 4f55250e5b80c785e2ca36f7db3346df0ba38ed63930cf791b2ad926a26dd466 |