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.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.
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4afcdf16b5a4d77dbd7ad986f6b8ec58c494228a2459b057ed748a7abc3ee140 |
|
MD5 | 1425c61428d8059479a32e50f7e3bc04 |
|
BLAKE2b-256 | 1e2c0e75bc3bcd655c642370d8462866766822b0572469aad58760d7a6ba7810 |
Close
Hashes for django_simple_options-1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 900f160089154b79fa79dbbe107563ed053d2f7c4a177f77d44c2c79d9c77bbb |
|
MD5 | 3cd1989a4a043937137bef269755c673 |
|
BLAKE2b-256 | 5f0df15b1756eacee204498fd64539d4978299b98d1d725bef8dfebcae0d9d22 |