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.2.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

django_runtime_options-0.1.2-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page