Fixing django csrf error when using uploadify
问题 I'm using uploadify in my django admin but I'm getting a 403 error. When I use @csrf_exempt the error is gone but this is very risky. Is there a better way to fix this problem without compromising the admin page by using @csrf_exempt decorator? Thanks in advance 回答1: It sounds like either you or the original author of that package need to update it to work with the changes that have come through in the CSRF framework. Sorry that's not the easy answer... :/ You'll need to make sure the ajax