.
This commit is contained in:
@@ -213,6 +213,7 @@ class AddQuestionNote(CreateView):
|
||||
"object_id" : pk }
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
# This can also be accessed via view.**** in the template
|
||||
context = super(AddQuestionNote, self).get_context_data(**kwargs)
|
||||
context['question'] = self.question
|
||||
return context
|
||||
|
||||
Reference in New Issue
Block a user