Changes between Initial Version and Version 2 of Ticket #27325
- Timestamp:
- Oct 31, 2016, 4:55:24 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27325
- Property Cc added
- Property Owner changed from to
- Property Status new → assigned
-
Ticket #27325 – Description
initial v2 1 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. [http s://whitenoise.evans.io/ WhiteNoise] is an example of static file serving done in Python and is a possible candidate for integration in Django.1 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. [http://whitenoise.evans.io/ WhiteNoise] is an example of static file serving done in Python and is a possible candidate for integration in Django. 2 2 3 3 Ideas are discussed in more detail on the [https://groups.google.com/d/topic/django-developers/N0KbgDeLuUE/discussion delegating our static file serving] thread on django-developers.