Skip to main content

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.

Tested with Django 3.0, SRWare Iron and files no larger than 40MB.

Known issues:
  • Multiple ranges aren’t supported.

  • Big files aren’t supported yet.

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.0.tar.gz (2.7 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