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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c098927f1d48b0bbfbd02501aa8cbf3d464d34ac6ac2f330ba3b5a74e418b9d |
|
MD5 | 5ef8b4e58a7cbf0ab70bca914b2184e6 |
|
BLAKE2b-256 | 29d9944eea8d3cd018667572349086def424168af6fcdd727e27eecf9a639789 |
Close
Hashes for django_simple_options-2.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20e02b94a4667afc4884b6bf35a4d5b3118c423e8a47276c249cab696914dbdd |
|
MD5 | a1df88080d3ec28fba58692e2050849e |
|
BLAKE2b-256 | 2e48b90b26ab1f944c5318d6246fee9f14ed9671060ab3e61e77a99dcd173c5a |