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

Improve Django 1.9 support when using fine-uploader #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TomAnthony
Copy link

In Django 1.9 the WSGIRequest.REQUEST property is removed (https://docs.djangoproject.com/en/1.9/releases/1.9/#features-removed-in-1-9).

This means that by default uploads will fail when using fine-uploader via django-ajax-uploader. I addressed this by adding a simple if statement to try POST before REQUEST.

Tested on Django 1.9.7.

(Thanks for this great project -- I searched for ages for something nice.)

@harikvpy
Copy link

It's a little sad that this PR Is still not merged with the master.

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

Successfully merging this pull request may close these issues.

2 participants