Skip to main content

Penn Labs example description

Project description

Django Runtime Options

CircleCI Coverage Status PyPi Package

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

django-runtime-options-0.1.3.tar.gz (4.4 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page