Skip to main content

Support for partial content in Django staticfiles.

Project description

https://img.shields.io/pypi/v/django-partial-content.svg

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

django-partial-content-0.9.4.tar.gz (2.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page