From 208fa3c8b9fddf44d12961d432a16ae70a1d1095 Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Thu, 11 Jul 2024 17:43:08 +0200 Subject: [PATCH] Add base circle property to circle --- server/vbv_lernwelt/learnpath/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/vbv_lernwelt/learnpath/models.py b/server/vbv_lernwelt/learnpath/models.py index 20f3130d..d1bc7029 100644 --- a/server/vbv_lernwelt/learnpath/models.py +++ b/server/vbv_lernwelt/learnpath/models.py @@ -110,6 +110,9 @@ class Circle(CourseBasePage): profiles = models.ManyToManyField(CourseProfile, related_name="circles") + # base circles do never belong to a course profile and should also get displayed no matter what profile is chosen + is_base_circle = models.BooleanField(default=False) + # profile = models.ForeignKey( # ApprovalProfile, # null=True,