Skip to main content

Really simple wsgi middleware to serve media files before hitting the Django app. Only enabled when Django DEBUG is True. This can really speed up your local development process when a page loads a lot of media files.

Status

https://readthedocs.org/projects/wsgi-django-media/badge/?version=latest https://travis-ci.org/mvantellingen/wsgi-django-media.svg?branch=master http://codecov.io/github/mvantellingen/wsgi-django-media/coverage.svg?branch=master https://img.shields.io/pypi/v/wsgi-django-media.svg

Getting started

Using this module is really simple. In Django for example edit the wsgi.py file and add the following to the end of the file.

from wsgi_django_media import DjangoMedia
application = DjangoMedia(application)

Installation

You can install the latest version using pip:

pip install wsgi-django-media

Release files for wsgi-django-media 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wsgi-django-media 1.0.0
File Size Uploaded
wsgi-django-media-1.0.0.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wsgi-django-media 1.0.0
File Interpreter ABI Platform
wsgi_django_media-1.0.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 8.8 kB

Release files / wsgi-django-media-1.0.0.tar.gz

Download URL wsgi-django-media-1.0.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
402b8dbd0b4a74903722c49d6b1d75e11298e900d703ea481eacbe51c75e1e16
BLAKE2b-256 checksum
How to use checksums
6d2596fed679f4b5c96085d4d2d29377be4d0e738b11517a5a5816f517a2d2ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / wsgi_django_media-1.0.0-py2.py3-none-any.whl

Download URL wsgi_django_media-1.0.0-py2.py3-none-any.whl
Size 5.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2d9bcadf1712189ea9f05e638ebb71a7872cd86f8775c35c5f5dd522334d4d2b
BLAKE2b-256 checksum
How to use checksums
25bc26872659a815d4a3a942c2870bd49ab898eb9f0e72755ecf893b45c97bbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page