Django app that provides possibility to add settings that can be changed in DB.
Project description
# dj-livesettings
Django app that provides possibility to add settings that can be changed in DB.
Getting Started
Add ‘livesettings’ to INSTALLED_APPS
Set LIVESETTINGS_CACHE_TIME in settings.py
Add livesettings in /admin/livesettings/
Typical Usage
# in settings.py FOO = ‘foo’
# in foo.py from livesettings.api import live_settings print(live_settings.FOO) # >>> ‘foo’
# if in admin we add livesetting FOO with value bar print(live_settigns.FOO) # >>> ‘bar’
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
dj-livesettings-0.1.5.tar.gz
(3.8 kB
view details)
File details
Details for the file dj-livesettings-0.1.5.tar.gz
.
File metadata
- Download URL: dj-livesettings-0.1.5.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
57bc4013dd5beeb1ec99264a496247f4e8829a9f9eea65f93dba9154f8a78d8e
|
|
MD5 |
6df047353ec8de2260eb079a530d3372
|
|
BLAKE2b-256 |
28df5f5f144ec444be740d17cd85a4c9db029aafbc2464f64da0c98b4a1dc4a6
|