Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FineUploader with Django 1.11.15 #78

Open
MikeHibbert opened this issue Nov 18, 2020 · 0 comments
Open

FineUploader with Django 1.11.15 #78

MikeHibbert opened this issue Nov 18, 2020 · 0 comments

Comments

@MikeHibbert
Copy link

Hi

I have a legacy site that needs to switch to using FineUploader but its built using Django 1.11.15

I've followed all the setup instructions and alls well until I try to upload and it gives the following error:

Traceback:  

File "/home/mike/Documents/python/dbi_website/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
  185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/home/mike/Documents/python/dbi_website/local/lib/python2.7/site-packages/ajaxuploader/views/base.py" in __call__
  22.         return self._ajax_upload(request, *args, **kwargs)

File "/home/mike/Documents/python/dbi_website/local/lib/python2.7/site-packages/ajaxuploader/views/base.py" in _ajax_upload
  36.                         filename = request.REQUEST['qqfilename']

Exception Type: AttributeError at /projects/ajax-upload/1/
Exception Value: 'WSGIRequest' object has no attribute 'REQUEST'

I'm pretty sure its the older version of Django that doesn't have the 'REQUEST' as part of its implementation of WSGIRequest so I was wondering what version of ajaxuploader might be compatible with FineUploader and my version of Django?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant