Penn Labs example description
Project description
Django Runtime Options
Requirements
- Python 3.6+
- Django 2.2+
Installation
Install with pip pip install django-runtime-options
Add options
to INSTALLED_APPS
INSTALLED_APPS = ( ... 'options.apps.OptionsConfig', ... )
(Optionally) add the following to urls.py
urlpatterns = [ ... path("options/", include("options.urls", namespace="options")), ... ]
Documentation
Runtime options can either be set in the django admin site or by using the setoption
command.
An example of the management command is ./manage.py setoption key value --type TXT
which will create or update an option with the key "key" to the value "value"
Changelog
See CHANGELOG.md
License
See LICENSE
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size django_runtime_options-0.1.3-py3-none-any.whl (8.2 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size django-runtime-options-0.1.3.tar.gz (4.4 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for django_runtime_options-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85f76608b83bd4d2894c534569e0302449ce776974131a18b50ab07a9f983f5b |
|
MD5 | 38dee158f0c7c42e582f3aed997dbbe7 |
|
BLAKE2-256 | a0584c1e34285ff3f997197b9b7618805d67f0f0e9ac097993c32b16b381c039 |
Close
Hashes for django-runtime-options-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | edb34dc27d5558cda19caf8650b93b2fec4753f9955a545bf75f2785bbf40e55 |
|
MD5 | 635a562b5db7b58e39cba6fa398bf928 |
|
BLAKE2-256 | d9b1931fb3408c98dfc721d389af2932a547b37f311c5ef4856cf03a6df61532 |