Skip to main content

Serve self-contained distribution builds of Swagger UI and Redoc with Django

Project description

pypi-version pypi-dl

Serve self-contained distribution builds of Swagger UI and Redoc with Django either via runserver or collectstatic.

This Django app is an optional addition to drf-spectacular, but does not depend on it. It may also be used independently.

This is a self-updating and self-publishing repository that looks for updates on the 1st of every month. The distribution files are sourced from npm via jsdelivr, validated, packaged and uploaded to PyPI.

Installation

$ pip install drf-spectacular-sidecar

The package needs to be registered to allow Django to discover the static files.

INSTALLED_APPS = [
    # ALL YOUR APPS
    'drf_spectacular_sidecar',
]

Requirements

Django >= 2.2

Licenses

Provided by T. Franzel. Licensed under 3-Clause BSD.

This package includes distribution builds of

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

drf_spectacular_sidecar-2024.11.1.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

File details

Details for the file drf_spectacular_sidecar-2024.11.1.tar.gz.

File metadata

File hashes

Hashes for drf_spectacular_sidecar-2024.11.1.tar.gz
Algorithm Hash digest
SHA256 fcfccc72cbdbe41e93f8416fa0c712d14126b8d1629e65c09c07c8edea24aad0
MD5 4fa3e05c7d9bda7d9319a6e288f78d7e
BLAKE2b-256 648bd7ae067ab4f27bd703da746d7fff31761b6e83931bfd7fd7b4749d78a705

See more details on using hashes here.

File details

Details for the file drf_spectacular_sidecar-2024.11.1-py3-none-any.whl.

File metadata

File hashes

Hashes for drf_spectacular_sidecar-2024.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2efd49c5bd1a607fd5d120d9da58d78e587852db8220b8880282a849296ff83
MD5 7adea81b475c88babe5ec227ddf7de42
BLAKE2b-256 54d738f2446330b78e4da4bc270fd2b46858b15203d68ab02b23982a50e6f0a6

See more details on using hashes here.

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