Skip to content
Snippets Groups Projects
Commit 7e4aa739 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent c2ae7474
No related branches found
No related tags found
1 merge request!64Add better options to get previous or next lesson period
Pipeline #2802 passed
......@@ -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)
......
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