From 35cd00ba24e08e1f971f896da0fec7c205520070 Mon Sep 17 00:00:00 2001
From: Fanna Lautenbach <lautenbach@astron.nl>
Date: Mon, 19 Dec 2022 11:22:35 +0100
Subject: [PATCH] change redirect

---
 ldvspec/lofardata/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ldvspec/lofardata/views.py b/ldvspec/lofardata/views.py
index 742ccb6e..16c2ae34 100644
--- a/ldvspec/lofardata/views.py
+++ b/ldvspec/lofardata/views.py
@@ -382,4 +382,4 @@ class WorkSpecificationViewset(viewsets.ModelViewSet):
 
         time.sleep(1)  # allow for some time to pass
 
-        return redirect("specification-detail", pk=pk)
+        return redirect("index")
-- 
GitLab