Skip to main content

Simple app to add configuration options to a Django project.

Project description

https://travis-ci.org/marcosgabarda/django-simple-options.svg?branch=master https://coveralls.io/repos/github/marcosgabarda/django-simple-options/badge.svg?branch=master

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-simple-options-2.0.2.tar.gz (16.0 kB view hashes)

Uploaded Source

Built Distribution

django_simple_options-2.0.2-py3-none-any.whl (26.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page