From fbb3b92ab33e3aeea69a389a485a3ee33f163dc1 Mon Sep 17 00:00:00 2001 From: Magdalena Noffke Date: Tue, 15 Oct 2019 10:48:53 +0200 Subject: [PATCH] apps/questions: Change redirect urls --- apps/questions/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/questions/models.py b/apps/questions/models.py index 8d89000c1..14b016e92 100644 --- a/apps/questions/models.py +++ b/apps/questions/models.py @@ -52,4 +52,6 @@ def __str__(self): return str(self.text) def get_absolute_url(self): - return reverse('question-list', args=[str(self.module.slug)]) + return reverse('module-detail', + args=[str(self.module.project.organisation.slug), + str(self.module.slug)])