This commit is contained in:
Ross
2021-04-29 23:12:12 +01:00
parent f46fd8747a
commit 4d3ceef791
+1 -1
View File
@@ -802,7 +802,7 @@ class AnatomyQuestionUpdate(LoginRequiredMixin, UpdateView):
form_class = AnatomyQuestionForm
def get_form_kwargs(self):
kwargs = super(AnatomyQuestionCreateBase, self).get_form_kwargs()
kwargs = super(AnatomyQuestionUpdate, self).get_form_kwargs()
kwargs.update({'user': self.request.user})
return kwargs