skillfed

dj-static

Serve production static files with Django.

dj-static v0.0.6 86.3K downloads/30d#13,873 on PyPI505
Permissive license BSD Abandoned released

What it is and what it does

dj-static is a thin middleware wrapper that delegates static file serving to a dedicated WSGI application. The package wraps your WSGI application with Cling middleware to handle static assets in production, requiring only STATIC_ROOT and STATIC_URL configuration. However, the package has been abandoned since 2014-07-11 and its repository is archived, making it a legacy solution with no active maintenance or support.

Use it for:

  • Serving static files in production deployments using a WSGI server without relying on the built-in static file handler.
  • Wrapping an existing WSGI application to add static file serving with minimal code changes.
  • Legacy projects that were built with dj-static and need to maintain the same approach.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Wraps a WSGI application to serve static files in production using a production-ready WSGI static file server, avoiding the built-in static file serving approach.

No. The package is abandoned (last updated 2014-07-11, repository archived) with no path forward for maintenance or security updates. Modern deployments use actively maintained alternatives. Installing this introduces technical debt.

Install

dj-static on PyPI

pip

pip install dj-static

uv

uv add dj-static

poetry

poetry add dj-static

Installing dj-static

Before you install

High install friction: the package is abandoned (last commit 2017-09-30, repository archived) and has not been updated since 2014-07-11. No runtime dependencies, but the lack of maintenance for over a decade means compatibility with current tooling is uncertain.

License in practice

BSD license (permissive) means you can use, modify, and distribute freely with minimal restrictions, but you assume all risk given the package's abandoned status.

Quickstart

pip install dj-static==0.0.6

In wsgi.py:
from dj_static import Cling

application = Cling(application)

Package has not been maintained since 2014-07-11; compatibility with current versions of its intended environment is unknown.

Verify before relying

  • Compatibility with current versions of the WSGI servers and frameworks it was designed to work with.
  • Whether the underlying Static WSGI application it wraps is still maintained or recommended.
  • Whether this approach remains a best practice for production static file serving.

Package facts

License BSD (permissive)
Python support not specified
Install friction high — source build required
Runtime dependencies none
Maintenance abandoned — 4,417 days since the last release
Last repo commit (repository archived)
First released
Downloads 86,312/month — #13,873 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: dj-static-0.0.6.tar.gz

Environment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: Libraries :: Python Modules

Tags

static files production wsgiwsgi static file servinggunicorn static assetsproduction static middlewareserve static files wsgicling middlewarestatic asset serving
legacyabandoned

More Python Modules packages