.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{{view.question}}
|
||||
{{view.question.pk}}
|
||||
|
||||
{% block content %}
|
||||
<h2>Add Feedback</h2>
|
||||
<form action="" method="post">
|
||||
|
||||
+1
-1
@@ -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 }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user