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.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 798b86239be780ee14267a59c08f250f2b630ae7a76fa302a769fb9f6f369d54 |
|
MD5 | 8b6c3fbbfa63eb5ee39fb9df96fb037e |
|
BLAKE2b-256 | 4ae2eadc7a9416dfa27c2e2585958284c45e8301eaa124aadfcd44f5dc901876 |
Close
Hashes for django_simple_options-2.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 542bd365f89ab3f09a03f9885e69937a0b0d226b9435bd981bb0a13dcd0aaeba |
|
MD5 | 3b859f0f45a6d972ab1331e01ad30bd7 |
|
BLAKE2b-256 | 253dbbec47913a3f7640c5844887f36fc90cf9a4568d8420278f29612dc6304c |