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.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4211092063292964ef2ceb656c8f4e11bd0710d5026ad8fe88855a44de9eb39c |
|
MD5 | 7aea366ee2508a4d735a1c7df58c2954 |
|
BLAKE2b-256 | 89998bbfce7994fcad6929ccaa537b989a8acb3aaa936ef82fd20a026b2f4a1d |
Close
Hashes for django_simple_options-2.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2785e087b18aa66d8d0d13c8b4770256ff070886d2f7078cba27cdedf7071e7 |
|
MD5 | 24dfb2f354fe07ea2b5f8ccbfced3584 |
|
BLAKE2b-256 | 8578c5052d289d50167bf3f21960c940e0a8310a9dc60cf15f8d9a2ea5cba635 |