Skip to main content

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

  1. Add ‘livesettings’ to INSTALLED_APPS

  2. Set LIVESETTINGS_CACHE_TIME in settings.py

  3. 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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page