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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size dj-livesettings-0.1.5.tar.gz (3.8 kB) | File type Source | Python version None | Upload date | Hashes View |