Commit 7f2d20cd by John Eskew

Import FileWrapper from the correct place.

parent 24d35b7b
...@@ -10,12 +10,12 @@ import shutil ...@@ -10,12 +10,12 @@ import shutil
import tarfile import tarfile
from path import Path as path from path import Path as path
from tempfile import mkdtemp from tempfile import mkdtemp
from wsgiref.util import FileWrapper
from django.conf import settings from django.conf import settings
from django.contrib.auth.decorators import login_required from django.contrib.auth.decorators import login_required
from django.core.exceptions import SuspiciousOperation, PermissionDenied from django.core.exceptions import SuspiciousOperation, PermissionDenied
from django.core.files.temp import NamedTemporaryFile from django.core.files.temp import NamedTemporaryFile
from django.core.servers.basehttp import FileWrapper
from django.http import HttpResponse, HttpResponseNotFound, Http404 from django.http import HttpResponse, HttpResponseNotFound, Http404
from django.utils.translation import ugettext as _ from django.utils.translation import ugettext as _
from django.views.decorators.csrf import ensure_csrf_cookie from django.views.decorators.csrf import ensure_csrf_cookie
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment