Skip to main content

A Django app for experimentation.

Project description

Django Cravensworth

django-cravensworth is a Django app for feature flags.

Quick start

Install the Cravensworth library.

pip install django-cravensworth

Install Cravensorth core in the installed apps list in your settings.py.

INSTALLED_APPS = [
    ...
    'cravensworth.core',
]

Add Cravensworth middleware to the list of middleware in your settings.py.

MIDDLEWARE = [
    ...
    'cravensworth.core.middleware.cravensworth_middleware',
    ...
]

If using Cravensworth in a web environment, ensure that the Django request context processor is installed in your TEMPLATES configuration.

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        ...
        'OPTIONS': {
            'context_processors': [
                ...
                'django.template.context_processors.request',
                ...
            ],
        },
    },
]

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_cravensworth-0.1.1rc1.tar.gz (67.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_cravensworth-0.1.1rc1-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file django_cravensworth-0.1.1rc1.tar.gz.

File metadata

  • Download URL: django_cravensworth-0.1.1rc1.tar.gz
  • Upload date:
  • Size: 67.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for django_cravensworth-0.1.1rc1.tar.gz
Algorithm Hash digest
SHA256 ac6789af64ecc132ac5283559e3b4aecf8f2f677d53edef27874e74fd71bc372
MD5 1c48ef5c51139a66afcb5cdf686d68c9
BLAKE2b-256 a7e7e0c5bfedf8ddac5bd12326d00b37efe5a94f173b92fb7cafebe287b33460

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_cravensworth-0.1.1rc1.tar.gz:

Publisher: publish.yml on hkra/django-cravensworth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_cravensworth-0.1.1rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_cravensworth-0.1.1rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 4527de0f43e033176ae71e4122cb93b2660df0e9f9e52f3e791469e4d46bc917
MD5 d2e767fd52cd30cf6e75984b38fdcfe9
BLAKE2b-256 cf7c390e48b696c32d438e24406ef04f64232c069818983c11b39bf0b9aadafb

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_cravensworth-0.1.1rc1-py3-none-any.whl:

Publisher: publish.yml on hkra/django-cravensworth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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