thumbnail and overview
This commit is contained in:
@@ -117,8 +117,6 @@ def question_split(request, pk):
|
||||
|
||||
images = question.images.all()
|
||||
|
||||
old_abnormality = question.abnormality.all()
|
||||
old_region = question.region.all()
|
||||
old_examination = question.examination.all()
|
||||
# old_site = rapid.site.all()
|
||||
old_author = question.author.all()
|
||||
@@ -131,8 +129,6 @@ def question_split(request, pk):
|
||||
|
||||
question.save()
|
||||
|
||||
question.abnormality.set(old_abnormality)
|
||||
question.region.set(old_region)
|
||||
question.examination.set(old_examination)
|
||||
# question.site.set(old_site)
|
||||
question.author.set(old_author)
|
||||
@@ -197,8 +193,6 @@ class QuestionCreateBase(RevisionMixin, LoginRequiredMixin, CreateView):
|
||||
# @login_required
|
||||
class QuestionCreate(QuestionCreateBase):
|
||||
|
||||
# initial = {"laterality": Question.NONE}
|
||||
|
||||
def get_initial(self):
|
||||
if "pk" in self.kwargs:
|
||||
initial = super().get_initial()
|
||||
|
||||
Reference in New Issue
Block a user