Simple app to add configuration options to a Django project.
1.. Django Belt documentation master file, created by
2 sphinx-quickstart on Wed Feb 5 10:19:59 2020.
3 You can adapt this file completely to your liking, but it should at least
4 contain the root `toctree` directive.
5
6=====================================
7Django Simple Options's documentation
8=====================================
9
10Simple app to add configuration options to a Django project.
11
12Quick start
13-----------
14
15**1** Install using pip::
16
17 $ pip install django-simple-options
18
19**2** Add "options" to your INSTALLED_APPS settings like this::
20
21 INSTALLED_APPS += ('options',)
22
23
24Settings options
25----------------
26
27Use ``SIMPLE_OPTIONS_CONFIGURATION_DEFAULT`` to set the default options::
28
29 SIMPLE_OPTIONS_CONFIGURATION_DEFAULT = {
30 "sold_out": {
31 "value": 0,
32 "type": INT,
33 "public_name": "Sets tickets as sold out"
34 },
35 }
36