From 4f78827ae3c4df9a95f0c210a0715a8d05d4e8dd Mon Sep 17 00:00:00 2001
From: Jorran de Wit <jorrandewit@outlook.com>
Date: Fri, 22 Jun 2018 13:45:20 +0200
Subject: [PATCH] Update redirect

---
 production/views.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/production/views.py b/production/views.py
index 6b8d02ded..613a4ca9c 100644
--- a/production/views.py
+++ b/production/views.py
@@ -257,6 +257,7 @@ def add_officer(request, stream_id):
         # TODO: Implement proper email
         ProductionUtils.load({'stream': stream})
         ProductionUtils.email_assigned_production_officer()
+        return redirect(stream.get_absolute_url())
     else:
         for key, error in form.errors.items():
             messages.warning(request, error[0])
-- 
GitLab