Skip to main content

Django application to provide a web interface to set a yet another django's settings

Project description

https://travis-ci.org/hirokiky/django-websettings.png

Django application to provide a web interface to set a yet another django’s settings.

Basic usage

You can set a setting file containing some key-value pairs like django’s settings.py. Then a web interface to set setting values will be provided automatically.

The value in the setting file is handled as default value of web interface. A new value set from web interface overrides that default value.

The setting file will be like this:

HTT_DRUM_PLAYER = 'Ritsu Tainaka'
HTT_BASS_PLAYER = 'Mio Akiyama'

Then you can get setting values from websettings.

>>> from websettings import websettings
>>> websettings.HTT_BASS_PLAYER
'Mio Akiyama'

After you set overriding value (like ‘Jun Suzuki’) by using web interface…:

>>> websettings.TEST_WEBSETTING
'Jun Suzuki'

Resources

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

django-websettings-1.0b1.tar.gz (24.6 kB view details)

Uploaded Source

File details

Details for the file django-websettings-1.0b1.tar.gz.

File metadata

File hashes

Hashes for django-websettings-1.0b1.tar.gz
Algorithm Hash digest
SHA256 1343979cc69af29fab2ee34ae6b45e164ac27d959f3f5cea9eeb8ffb3d26f87c
MD5 3c53b3b0e525a4b71109f39547335893
BLAKE2b-256 6078e79bbe0500b37f2d56ed7d4b638938892cb4f768b0fe5b1602cc7889f7af

See more details on using hashes here.

Supported by

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