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 details)

Uploaded Source

File details

Details for the file dj-livesettings-0.1.5.tar.gz.

File metadata

File hashes

Hashes for dj-livesettings-0.1.5.tar.gz
Algorithm Hash digest
SHA256 57bc4013dd5beeb1ec99264a496247f4e8829a9f9eea65f93dba9154f8a78d8e
MD5 6df047353ec8de2260eb079a530d3372
BLAKE2b-256 28df5f5f144ec444be740d17cd85a4c9db029aafbc2464f64da0c98b4a1dc4a6

See more details on using hashes here.

Supported by

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