Florian Apolloner 4e8d6a1baf [3.0.x] Fixed #31240 -- Properly closed FileResponse when wsgi.file_wrapper is used.
Thanks to Oskar Persson for the report.

Backport of 41a3b3d18647b258331104520e76f977406c590d from master
2020-02-11 20:40:24 +01:00

8 lines
117 B
Python

from django.urls import path
from . import views
urlpatterns = [
path('fileresponse/', views.file_response),
]