wip: Remove old model
This commit is contained in:
parent
fa76989bbf
commit
d1166ed507
|
|
@ -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):
|
||||||
|
|
|
||||||
|
|
@ -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 = []
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue