---
title: "drf-spectacular-sidecar | pypx"
description: "Serve self-contained distribution builds of Swagger UI and Redoc with Django"
canonical_url: "https://pypx.app/packages/drf-spectacular-sidecar"
meta:
  "og:description": "Serve self-contained distribution builds of Swagger UI and Redoc with Django"
  "og:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_drf-spectacular-sidecar%2Cversion_2026.10.1%2Csummary_Serve%2Bself-contained%2Bdistribution%2Bbuilds%2Bof%2BSwagger%2BUI%2Band%2BRedoc%2Bwith%2BDjango%2Clicense_BSD%2BLicense%2Cp_Ii9wYWNrYWdlcy9kcmYtc3BlY3RhY3VsYXItc2lkZWNhciI%2Cs_rHmeDBAVEKCuFnUG.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "drf-spectacular-sidecar 2026.10.1"
  "twitter:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_drf-spectacular-sidecar%2Cversion_2026.10.1%2Csummary_Serve%2Bself-contained%2Bdistribution%2Bbuilds%2Bof%2BSwagger%2BUI%2Band%2BRedoc%2Bwith%2BDjango%2Clicense_BSD%2BLicense%2Cp_Ii9wYWNrYWdlcy9kcmYtc3BlY3RhY3VsYXItc2lkZWNhciI%2Cs_rHmeDBAVEKCuFnUG.png"
---

> Index of every page on this site: [llms.txt](https://pypx.app/llms.txt)

# **drf-spectacular-sidecar**

v2026.10.1

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

2.5 MB Python 3.6+ py3-none-anyBSD License1 deps

[** Diff **](https://pypx.app/packages/drf-spectacular-sidecar/diff)

`$ uv add drf-spectacular-sidecar`

=======================

# drf-spectacular-sidecar

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.

- `Swagger UI`\_ version 5.33.1 ([npm](https://www.npmjs.com/package/swagger-ui-dist)\_)
- `Redoc`\_ version 2.5.4 ([npm](https://www.npmjs.com/package/redoc)\_)

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

```bash
$ pip install drf-spectacular-sidecar
```

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

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

## Requirements

Django >= 2.2

## Licenses

Provided by [T. Franzel](https://github.com/tfranzel). [Licensed under 3-Clause BSD](https://github.com/tfranzel/drf-spectacular-sidecar/blob/master/LICENSE).

This package includes distribution builds of

- `Swagger UI`\_: The [original license (Apache 2.0)](https://github.com/swagger-api/swagger-ui/blob/master/LICENSE) and copyright apply to those files.
- `Redoc`\_: The [original license (MIT)](https://github.com/Redocly/redoc/blob/master/LICENSE) and copyright apply to those files.

## **Details **

<dl>

<dt>Version</dt>
<dd>2026.10.1</dd>

<dt>License</dt>
<dd>BSD License</dd>

<dt>Python</dt>
<dd>&gt;=3.6</dd>

<dt>Maintainer</dt>
<dd>T. Franzel</dd></dl>

## **Links**

- [Documentation](https://drf-spectacular.readthedocs.io)
- [Homepage](https://github.com/tfranzel/drf-spectacular-sidecar)
- [Source](https://github.com/tfranzel/drf-spectacular-sidecar)
- [View on PyPI](https://pypi.org/project/drf-spectacular-sidecar/)

## **Release Cadence **

**11**

releases in the past year

avg 27 days between releases

## **Maintainers **

- T. Franzel · [tfranzel@gmail.com](mailto:tfranzel@gmail.com)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://pypx.app/#website","@type":"WebSite","description":"The Python Package Index, reimagined. Fast search, dependency insights, download trends, and changelogs — all in one place.","name":"pypx","url":"https://pypx.app/"},{"@id":"https://pypx.app/packages/drf-spectacular-sidecar#webpage","@type":"WebPage","description":"Serve self-contained distribution builds of Swagger UI and Redoc with Django","name":"drf-spectacular-sidecar","url":"https://pypx.app/packages/drf-spectacular-sidecar","isPartOf":{"@id":"https://pypx.app/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://pypx.app/packages/drf-spectacular-sidecar"]}]},{"@id":"https://pypx.app/packages/drf-spectacular-sidecar#/schema/software-application/1","@type":"SoftwareApplication","applicationCategory":"DeveloperApplication","description":"Serve self-contained distribution builds of Swagger UI and Redoc with Django","license":"BSD License","name":"drf-spectacular-sidecar","softwareVersion":"2026.10.1"}]}
```

## Sitemap

See the full [sitemap](https://pypx.app/sitemap.md) for all pages.
