Simple app to add configuration options to a Django project
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-simple-options-1.0a3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d79a0c8d8fb8506a2042588c3108db30948519d8be4aa3bd44e3d58f86d9aba6 |
|
MD5 | fe12ac2d9a0cce832f875e08c561f698 |
|
BLAKE2b-256 | 20af45ccb07e3fb5c37c2e8488f3574bc7067f0a07d97c6a96ea699513a8545a |
Close
Hashes for django_simple_options-1.0a3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af341849cadce66c00318b9b1c839f533cfaf340826dd703719f39880606a1f8 |
|
MD5 | 9161f6c0b315c6b172c653b009ad0096 |
|
BLAKE2b-256 | 077ea713a61f6f69335b5dd208381b1c34d9aca6639af15250c2469f6dc98a41 |