.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user