skip to navigation
skip to content

django-simple-options 1.0a2

Simple app to add configuration options to a Django project

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 CONFIGURATION_DEFAULT_OPTIONS to set the default options:

CONFIGURATION_DEFAULT_OPTIONS = {
    "sold_out": {
        "value": 0,
        "type": INT,
        "public_name": "Sets tickets as sold out"
    },
}

History

1.0a2 (2017-2-20)

  • Add search options to admin.
  • Export current options command.

1.0a1 (2017-2-20)

  • First release on PyPI.
 
File Type Py Version Uploaded on Size
django-simple-options-1.0a2.tar.gz (md5) Source 2017-02-27 4KB
django_simple_options-1.0a2-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-02-27 8KB