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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0a1ac7deff1a1b192decdc2b05b2ccac61247aaef87c4dbb7522d4c3d17b3ea |
|
MD5 | 8e85e4cddf9721c7ff77d4d93adcd797 |
|
BLAKE2b-256 | 446962b6d2c4e9c26b6a41f1e370f996968a5cabcf14a66ce03ff6a3bc1e9269 |
Close
Hashes for django_simple_options-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b61846b9a40149060cae55754214e325a5db43211933e80c9e066dd1ffce8f4 |
|
MD5 | 68de18ef0b10458e606433ed08040490 |
|
BLAKE2b-256 | 6b8c84344983c74db5290f8d554bd6b32b7a8c1cdf9cc9b9d60bf6a52d12c7c0 |