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
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wsgi-django-media-1.0.0.tar.gz
.
File metadata
- Download URL: wsgi-django-media-1.0.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 402b8dbd0b4a74903722c49d6b1d75e11298e900d703ea481eacbe51c75e1e16 |
|
MD5 | 1cb5f62cf4605d47daa156b6a8f5621d |
|
BLAKE2b-256 | 6d2596fed679f4b5c96085d4d2d29377be4d0e738b11517a5a5816f517a2d2ac |
File details
Details for the file wsgi_django_media-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: wsgi_django_media-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d9bcadf1712189ea9f05e638ebb71a7872cd86f8775c35c5f5dd522334d4d2b |
|
MD5 | 5e6a768049b96478dc16e0f8766d22e1 |
|
BLAKE2b-256 | 25bc26872659a815d4a3a942c2870bd49ab898eb9f0e72755ecf893b45c97bbd |