Simple app to add configuration options to a Django project.
Project description
Simple app to add configuration options to a Django project.
Quick start
1 Install using pip:
$ pip install django-simple-options
2 Add “options” to your INSTALLED_APPS settings like this:
INSTALLED_APPS += ('options',)
Settings options
Use SIMPLE_OPTIONS_CONFIGURATION_DEFAULT to set the default options:
SIMPLE_OPTIONS_CONFIGURATION_DEFAULT = { "sold_out": { "value": 0, "type": INT, "public_name": "Sets tickets as sold out" }, }
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-simple-options-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bb363ca92c3fa4088bda22b38c42aec3ca6e4ac254abfe29d9646a38b07bd50 |
|
MD5 | 9e9df9b975a707ec2f04e4b07faa08fe |
|
BLAKE2b-256 | 51ceda1a3e6bd0b22aa39bc69645774762392c0b5c3ed7632c472f525eef03cc |
Close
Hashes for django_simple_options-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 868fd9cd445d183f5a5c2ba4da0da531c051ef6870e063cb0d74fbe09a6b4d68 |
|
MD5 | 374f7a040d8c4cbaf763e4ef9d0b57ea |
|
BLAKE2b-256 | e4c966a3ac581346954132da126fe8b2e499078b166207b580b7f2fe7ec0d575 |