From 198da95cd52f43613fdf76466903fe6abc681eba Mon Sep 17 00:00:00 2001 From: "serhii.nechyporchuk" Date: Thu, 3 Jan 2019 13:58:43 +0200 Subject: [PATCH] iss45: fix indent for return in the import batching --- app/server/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/server/views.py b/app/server/views.py index b47ba260..bcb1d5ba 100644 --- a/app/server/views.py +++ b/app/server/views.py @@ -129,7 +129,7 @@ class DataUpload(SuperUserMixin, LoginRequiredMixin, TemplateView): break Document.objects.bulk_create(batch, batch_size=batch_size) - return HttpResponseRedirect(reverse('dataset', args=[project.id])) + return HttpResponseRedirect(reverse('dataset', args=[project.id])) except DataUpload.ImportFileError as e: messages.add_message(request, messages.ERROR, e.message) return HttpResponseRedirect(reverse('upload', args=[project.id]))