Opened 8 years ago

Last modified 8 months ago

#27325 new New feature

Offer a solution for static file serving suitable for production use — at Version 2

Reported by: Tim Graham Owned by: Aleksej Manaev
Component: Core (Other) Version: dev
Severity: Normal Keywords:
Cc: Aleksej Manaev, Ülgen Sarıkavak Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Mads Jensen)

The documentation for the function for serving static files, django.contrib.staticfiles.views.serve(), describes it as "grossly inefficient and probably insecure. This is only intended for local development, and should never be used in production." To ease the deployment of small sites, it would be nice to fix or replace it with something that could be used in production. WhiteNoise is an example of static file serving done in Python and is a possible candidate for integration in Django.

Ideas are discussed in more detail on the delegating our static file serving thread on django-developers.

Change History (2)

comment:1 by Aleksej Manaev, 8 years ago

Cc: Aleksej Manaev added
Owner: changed from nobody to Aleksej Manaev
Status: newassigned

comment:2 by Mads Jensen, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top