tstone / django-uploadify

Django integration of Uploadify jQuery plugin -- No longer maintained by tstone but accepting pull requests for continued community use
173 stars 49 forks source link

403 Http Error at /uploadify/upload/ #7

Open last-partizan opened 13 years ago

last-partizan commented 13 years ago

This error happens in django > 1.2 which have csrf protection enabled by default

can be fixed by

@csrf_exempt
def upload(request, _args, *_kwargs): 
teewuane commented 12 years ago

i am getting a 403... by the way, why must it bypass the csrf?

last-partizan commented 12 years ago

it's just my choice. you can fix it without bypassing csrf :)

satalways commented 12 years ago

Hi friends, I' using php and javascripts for uploadify. I'm getting 403 Error. Can you help me?

last-partizan commented 12 years ago

we can't, it's python/django related issue, you must find bugs in your php code

satalways commented 12 years ago

OK, Thanks for guidance.