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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c103d8bea6791e388037656c789463e07771466065a032a11aeccd8ab31d2fc |
|
MD5 | 475500cacdc970358174048ea3af3b30 |
|
BLAKE2b-256 | 415ad31aa2f9bdfcb67f55815698138934671456136c3f9e8a062dc00316405c |
Close
Hashes for django_simple_options-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6037a29e45c35c412f3526ea62fdd535c91b487f851086da75f3520f9096442 |
|
MD5 | 27c10a429a26eaf981acb16006878a1b |
|
BLAKE2b-256 | 9e224c823517153b8fc69e24d52a0a07ab49a56fd185fe49caee3c5ad045a2a5 |