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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f662f4bfd4502d6f2ce969a9b5a412a1aa716b8d59cc00d200554ca15891c6b0 |
|
MD5 | dd30fc60607fa265e2999784e35dda7c |
|
BLAKE2b-256 | bb71bfb0fbe1341ba3dd7e6cc679fd2f2586aa0259eef05f781113af2d64d953 |
Close
Hashes for django_simple_options-2.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4154c1ef63bce5970f59f3eceee1993125d8ed813bdd18e32b74ab4b785ef4e |
|
MD5 | 2e8be2b58d32b1de5ccea389b13c6201 |
|
BLAKE2b-256 | fa0e920f84a04396a3a7761a94e63a2723c84fffafd838adfedf9de72bc0d0af |