mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-01 03:54:48 +00:00
Import FileWrapper from wsgiref.util
Not actually implemented in Django.
See: bbe28496d3
This commit is contained in:
parent
ab3b53adfe
commit
832fb62324
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
from wsgiref.util import FileWrapper
|
||||
|
||||
from django.shortcuts import get_object_or_404
|
||||
from django.http import HttpResponse
|
||||
from django.core.servers.basehttp import FileWrapper
|
||||
from django.core.exceptions import PermissionDenied
|
||||
|
||||
from wagtail.wagtailimages.models import get_image_model, Filter
|
||||
|
|
|
|||
Loading…
Reference in a new issue