Metadata-Version: 2.1
Name: django-simple-options
Version: 2.0.1
Summary: Simple app to add configuration options to a Django project.
Home-page: https://github.com/marcosgabarda/django-simple-options
License: UNKNOWN
Author: Marcos Gabarda
Author-email: hey@marcosgabarda.com
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Utilities
Requires-Dist: django
Requires-Dist: sphinx; extra == "doc"
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-django; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Requires-Dist: factory_boy; extra == "test"
Provides-Extra: doc
Provides-Extra: test

=====================
Django Simple Options
=====================

.. image:: https://travis-ci.org/marcosgabarda/django-simple-options.svg?branch=master
    :target: https://travis-ci.org/marcosgabarda/django-simple-options

.. image:: https://coveralls.io/repos/github/marcosgabarda/django-simple-options/badge.svg?branch=master
    :target: https://coveralls.io/github/marcosgabarda/django-simple-options?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"
        },
    }


