A middleware to delivery static files in Django.
Project description
Usage
Please refer to the Documentation to learn how to use django-static-delivery. Basicly, static_delivery provides a middleware to serve static files in - for example - Docker setups. The package uses a middleware instead of a view to make sure we can bypass cookies.
Requirements
django-static-delivery supports Python 3 only and requires at least Django 1.11. No other dependencies are required.
Prepare for development
A Python 3.6 interpreter is required in addition to pipenv.
$ pipenv install --python 3.6 --dev
$ pipenv run pip install -e .
Now you’re ready to run the tests:
$ pipenv run py.test
Project details
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 django-static-delivery-0.0.2.tar.gz
.
File metadata
- Download URL: django-static-delivery-0.0.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6361dc5b6e98754a274b25175a68d97ad8334f704fba4943b24890663afe7ac5 |
|
MD5 | b9aea8070ea8e196373827d59377ed62 |
|
BLAKE2b-256 | e8dc4b74ddb2dc5c480fbbeae86bdab54d784f68463b4f9695a979a6bc1ec465 |
File details
Details for the file django_static_delivery-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: django_static_delivery-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16ff40bbd7d3a68eadb24469e0e0a7a6037d2ca6c67c62b4fa13e930354fbf56 |
|
MD5 | f6f40ba09fa543ecbbe1e5a95b3f66e7 |
|
BLAKE2b-256 | d3fa2025f1fbfb8296dcfa118411e2fe43643f476df6137a37118a9c34988261 |