From c2ae7474451a342a7c7e1eb1f49d1f9885505241 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Wed, 24 Jun 2020 12:29:01 +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 b49a255c..ef9e0a63 100644 --- a/aleksis/apps/chronos/models.py +++ b/aleksis/apps/chronos/models.py @@ -335,7 +335,7 @@ class LessonPeriod(ExtensibleModel): """Get previous 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, -1) -- GitLab