Skip to content
Snippets Groups Projects
Verified Commit 3b5314db authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Fix order of date-related mixins for absences, events and extra lessons

parent 5d161253
No related branches found
No related tags found
1 merge request!86Fix order of date-related mixins for absences, events and extra lessons
Pipeline #3699 passed
......@@ -514,7 +514,7 @@ class DateRangeQuerySetMixin:
)
class AbsenceQuerySet(SchoolTermRelatedQuerySet, DateRangeQuerySetMixin):
class AbsenceQuerySet(DateRangeQuerySetMixin, SchoolTermRelatedQuerySet):
"""QuerySet with custom query methods for absences."""
def absent_teachers(self):
......@@ -637,7 +637,7 @@ class TimetableQuerySet(models.QuerySet):
class EventQuerySet(
SchoolTermRelatedQuerySet, DateRangeQuerySetMixin, TimetableQuerySet
DateRangeQuerySetMixin, SchoolTermRelatedQuerySet, TimetableQuerySet
):
"""QuerySet with custom query methods for events."""
......@@ -647,7 +647,7 @@ class EventQuerySet(
class ExtraLessonQuerySet(
SchoolTermRelatedQuerySet, TimetableQuerySet, GroupByPeriodsMixin
TimetableQuerySet, SchoolTermRelatedQuerySet, GroupByPeriodsMixin
):
"""QuerySet with custom query methods for extra lessons."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment