Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Chronos
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Chronos
Commits
3b5314db
Verified
Commit
3b5314db
authored
4 years ago
by
Jonathan Weth
Browse files
Options
Downloads
Patches
Plain Diff
Fix order of date-related mixins for absences, events and extra lessons
parent
5d161253
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!86
Fix order of date-related mixins for absences, events and extra lessons
Pipeline
#3699
passed
4 years ago
Stage: test
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/apps/chronos/managers.py
+3
-3
3 additions, 3 deletions
aleksis/apps/chronos/managers.py
with
3 additions
and
3 deletions
aleksis/apps/chronos/managers.py
+
3
−
3
View file @
3b5314db
...
...
@@ -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
,
Timetable
QuerySet
,
GroupByPeriodsMixin
TimetableQuerySet
,
SchoolTermRelated
QuerySet
,
GroupByPeriodsMixin
):
"""
QuerySet with custom query methods for extra lessons.
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment