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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b45a70486df3a1151fd1ead6d28a5ed5ae4d818dd6bbd0daea9e69e761359f79 |
|
MD5 | 3f7580e1e0ee6dad799cca67dd0782f7 |
|
BLAKE2b-256 | 7dd92947181826e149d67242a8d4ec160b306f4489fea53f4734d76e4d8e2880 |
Close
Hashes for django_simple_options-2.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15950e78f8bd5937375b10340a6dc27cd22c7856a5cb65fa8916ad3652988864 |
|
MD5 | e6cd36937193744de869b0c1878b1803 |
|
BLAKE2b-256 | 7ae1490282018d9a2d68e51b8368321c9f434294e9ca52cd0e33e03aa6a7a5f0 |