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.
Source Distribution
Built Distribution
File details
Details for the file django-runtime-options-0.1.3.tar.gz
.
File metadata
- Download URL: django-runtime-options-0.1.3.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.1 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edb34dc27d5558cda19caf8650b93b2fec4753f9955a545bf75f2785bbf40e55 |
|
MD5 | 635a562b5db7b58e39cba6fa398bf928 |
|
BLAKE2b-256 | d9b1931fb3408c98dfc721d389af2932a547b37f311c5ef4856cf03a6df61532 |
File details
Details for the file django_runtime_options-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: django_runtime_options-0.1.3-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.1 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85f76608b83bd4d2894c534569e0302449ce776974131a18b50ab07a9f983f5b |
|
MD5 | 38dee158f0c7c42e582f3aed997dbbe7 |
|
BLAKE2b-256 | a0584c1e34285ff3f997197b9b7618805d67f0f0e9ac097993c32b16b381c039 |