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.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99fdbeef948ebb31aa3f41b096554ccf13fdd0d0df5b63eb3d67925544450a8f |
|
MD5 | 03ec0bb717a647fb2b0c04b1bc353524 |
|
BLAKE2b-256 | bd7a5eab03e9f99b34da6d98af96e061d5bf394971869d02c53f5b8fa075c2f5 |
Close
Hashes for django_simple_options-2.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e720d4578ab697b5ef4326185dbbf959606bf5f271fe3b55e9a9981be98c44e |
|
MD5 | ed9dc0812d61ca309ad10134828474ec |
|
BLAKE2b-256 | 1fe5a7ce2d77aca131c2ae267689d22adf2f5af7769a24770bb9cc976c501a53 |