argh, silly. move fixed, wasn't the decorator

This commit is contained in:
Sanj 2011-07-05 14:21:25 +05:30
parent 6ecf5ee3c6
commit 692285848d

View File

@ -327,7 +327,7 @@ def moveFiles(request):
if fil.can_edit(user):
fil.move_to(study)
response['status'] = 'pass'
return render_to_json_response(errors)
return render_to_json_response(response)
@csrf_exempt