wip: Remove old model

This commit is contained in:
Christian Cueni 2023-12-05 11:57:28 +01:00
parent fa76989bbf
commit d1166ed507
2 changed files with 4 additions and 13 deletions

View File

@ -10,7 +10,6 @@ from vbv_lernwelt.learnpath.models import (
LearningContentAttendanceCourse, LearningContentAttendanceCourse,
LearningContentDocumentList, LearningContentDocumentList,
LearningContentEdoniqTest, LearningContentEdoniqTest,
LearningContentFeedback,
LearningContentFeedbackUK, LearningContentFeedbackUK,
LearningContentFeedbackVV, LearningContentFeedbackVV,
LearningContentKnowledgeAssessment, LearningContentKnowledgeAssessment,
@ -51,8 +50,6 @@ class LearningContentInterface(CoursePageInterface):
return LearningContentAssignmentObjectType return LearningContentAssignmentObjectType
elif isinstance(instance, LearningContentAttendanceCourse): elif isinstance(instance, LearningContentAttendanceCourse):
return LearningContentAttendanceCourseObjectType return LearningContentAttendanceCourseObjectType
elif isinstance(instance, LearningContentFeedback):
return LearningContentFeedbackUKObjectType
elif isinstance(instance, LearningContentFeedbackUK): elif isinstance(instance, LearningContentFeedbackUK):
return LearningContentFeedbackUKObjectType return LearningContentFeedbackUKObjectType
elif isinstance(instance, LearningContentFeedbackVV): elif isinstance(instance, LearningContentFeedbackVV):

View File

@ -319,12 +319,6 @@ class LearningContentPlaceholder(LearningContent):
can_user_self_toggle_course_completion = models.BooleanField(default=True) can_user_self_toggle_course_completion = models.BooleanField(default=True)
class LearningContentFeedback(LearningContent):
parent_page_types = ["learnpath.Circle"]
subpage_types = []
can_user_self_toggle_course_completion = models.BooleanField(default=False)
class LearningContentFeedbackUK(LearningContent): class LearningContentFeedbackUK(LearningContent):
parent_page_types = ["learnpath.Circle"] parent_page_types = ["learnpath.Circle"]
subpage_types = [] subpage_types = []