This commit is contained in:
Ross
2021-09-21 18:28:06 +01:00
parent 9a464eb43a
commit 497d7e2d23
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ class AddQuestionNote(CreateView):
question, content_type = get_question_and_content_type(question_type)
get_object_or_404(question, pk=pk)
self.question = get_object_or_404(question, pk=pk)
return { "content_type" : content_type,
"object_id" : pk }