Metadata-Version: 2.1
Name: django-simple-options
Version: 1.2
Summary: Simple app to add configuration options to a Django project
Home-page: https://github.com/marcosgabarda/django-options
Author: Marcos Gabarda
Author-email: hey@marcosgabarda.com
License: MIT License
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
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
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Utilities
Requires-Dist: django (>=1.9)
Requires-Dist: six (>=1.0)

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

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.2 (2019-07-26)
+++++++++++++++++

* Added admin to user options.
* Added integration with Django Rest Framework.
* Added tests.

1.1 (2019-07-01)
+++++++++++++++++

* Added validation on types before saving (Thanks to @aaloy!).

1.0 (2018-10-2)
+++++++++++++++++

* Added model for user's custom options.

1.0a3 (2018-8-29)
+++++++++++++++++

* Fixed dependency with GeoDejango.

1.0a2 (2017-2-20)
+++++++++++++++++

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

1.0a1 (2017-2-20)
+++++++++++++++++

* First release on PyPI.


