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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bca537d21165457e07286e7d0f366fa808d1db47d234da170a465f35ecda79c |
|
MD5 | bef4059bd17c787380f6bce2a691bbb2 |
|
BLAKE2b-256 | f6e577a95404547925ae30d434b5f0d5dfe1f9f7ca8e26d8ceeff9c02e3db2ec |
Close
Hashes for django_simple_options-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5b8256ee25c3a09e5dce67ac86b6bab61fa36bc4954845a136b752e747c3cb1 |
|
MD5 | 204a2199b7845458aa3087f66ccc320a |
|
BLAKE2b-256 | 66f5e0b33ba6f2f0939b9fa4d11296f8c9f87659d62450989b3cec704e95e03b |