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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f309c95fe844967facce90cf29d9ced560071d570ed49bc0d4dd2a3c2776bfc |
|
MD5 | 6842f1b16638df4d4f422dd871929e81 |
|
BLAKE2b-256 | 4bfb2022e2f36008c6f64ceaa5387b5c2d539db2cfc8a04d5fa8519638480587 |
Close
Hashes for django_simple_options-2.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1547babbe00c3625c881d8a2f811d89cc1eefb6e77a62dcbfb2c48814d47e6f3 |
|
MD5 | ce182e8b660e51d464030a51cb0a8c88 |
|
BLAKE2b-256 | e28b0387f7a24ac12e2b7c81c4d9abf1ef6c579b764fa9b1f9c28fb4b12e97ea |