Skip to main content

WSGI middleware to serve media for faster Django development

Project description

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 history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wsgi-django-media, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size wsgi_django_media-1.0.0-py2.py3-none-any.whl (5.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size wsgi-django-media-1.0.0.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page