From 7e4aa739538d1b371229111031abef1f08723e6a Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Wed, 24 Jun 2020 12:29:29 +0200 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- aleksis/apps/chronos/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aleksis/apps/chronos/models.py b/aleksis/apps/chronos/models.py index ef9e0a63..572975b7 100644 --- a/aleksis/apps/chronos/models.py +++ b/aleksis/apps/chronos/models.py @@ -326,7 +326,7 @@ class LessonPeriod(ExtensibleModel): """Get next lesson period of this lesson. .. warning:: - To use this property a week had to be annotated to the provided lesson period. + To use this property, the provided lesson period must be annotated with a week. """ return LessonPeriod.objects.filter(lesson=self.lesson).next_lesson(self) -- GitLab