Allow folder move
@@ -537,6 +537,7 @@ def data_store_move_to_folder(request, pk=None):
folder, file = ResourceFile.resource_path_is_acceptable(resource,
abs_path,
test_exists=True)
+ if not is_folder(istorage, abs_path):
ResourceFile.get(resource, file, folder=folder)
except ValidationError:
return HttpResponse('One or more files to be moved do not exist',
