Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ajaxuploader/backends/s3.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from multiprocessing import Pool
from StringIO import StringIO
from io import StringIO

import boto
from django.conf import settings
Expand Down
2 changes: 1 addition & 1 deletion ajaxuploader/signals.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from django.dispatch import Signal


file_uploaded = Signal(providing_args=['backend', 'request'])
file_uploaded = Signal()
4 changes: 3 additions & 1 deletion ajaxuploader/views/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ def _ajax_upload(self, request, *args, **kwargs):
try:
if 'qqfile' in request.GET:
filename = request.GET['qqfile']
elif 'qqfilename' in request.GET:
filename = request.GET['qqfilename']
else:
filename = request.REQUEST['qqfilename']
filename = request.POST['qqfilename']
except KeyError:
return HttpResponseBadRequest("AJAX request not valid")
# not an ajax upload, so it was the "basic" iframe version with
Expand Down