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.4.tar.gz
(3.6 kB
view hashes)