argh, silly. move fixed, wasn't the decorator
This commit is contained in:
parent
6ecf5ee3c6
commit
692285848d
|
@ -327,7 +327,7 @@ def moveFiles(request):
|
||||||
if fil.can_edit(user):
|
if fil.can_edit(user):
|
||||||
fil.move_to(study)
|
fil.move_to(study)
|
||||||
response['status'] = 'pass'
|
response['status'] = 'pass'
|
||||||
return render_to_json_response(errors)
|
return render_to_json_response(response)
|
||||||
|
|
||||||
|
|
||||||
@csrf_exempt
|
@csrf_exempt
|
||||||
|
|
Loading…
Reference in New Issue
Block a user