This commit is contained in:
Ross
2021-09-12 11:34:14 +01:00
parent 15463a29bf
commit 5c0a5d04ca
4 changed files with 18 additions and 7 deletions
+1 -5
View File
@@ -855,12 +855,8 @@ class AnatomyQuestionUpdate(RevisionMixin, AuthorOrCheckerRequiredMixin, UpdateV
class QuestionClone(AnatomyQuestionCreateBase):
"""Clones a existing rapid"""
"""Clones a existing question"""
# fields = '__all__'
# #fields = [ 'condition' ]
# #initial = {'date_of_death': '05/01/2018'}
# exclude = [ 'created_date', 'published_date' ]
def get_initial(self):
# print(self.request)
old_object = get_object_or_404(AnatomyQuestion, pk=self.kwargs["pk"])