A Django middleware that serves static files in production using the static server from Werkzeug. Current version 0.0.6, no longer actively maintained. Development ceased around 2015.
pip install dj-staticVerified import paths — ran on the pinned version, not inferred.
Wrap your Django WSGI application with Cling to serve static files in production. Run with a WSGI server like gunicorn.
Use 'from dj_static import Cling'.
Replace with whitenoise: install 'pip install whitenoise' and follow its documentation.
If using ASGI (Django Channels, Daphne, Uvicorn), use WhiteNoise with ASGI support.