Support for partial content in Django staticfiles.
Project description
Support for partial content in Django staticfiles.
After an installation add the following app to your settings.
INSTALLED_APPS = [
...
'django-partial-content',
...
]
After that Django will respect Range header in requests to static files. Note that using staticfiles module in production is not recommended. The extension is only for ease of development.
The lowest Django version I could get it work is 1.8. Also works on Python 2.7. Tested on Chrome-like browser and Firefox.
- Known issues:
Multiple ranges aren’t supported.
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
File details
Details for the file django-partial-content-0.9.4.tar.gz
.
File metadata
- Download URL: django-partial-content-0.9.4.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e869f669f26306ee15aa441d8fac6edcdaf91b23d220c41ed87a215dbff014d |
|
MD5 | 72916ed2ce806084fb5b4eb243e05609 |
|
BLAKE2b-256 | b5c2757a97e617d143ed530d91499e34a73a50aaad996e5b1dd301dda45e049e |