From d514aa13a84c8155e7a099acfd04e46999745c60 Mon Sep 17 00:00:00 2001
From: Julian Leucker <leuckerj@gmail.com>
Date: Sun, 16 May 2021 13:57:37 +0200
Subject: [PATCH] Reformat and shorten docstring

---
 aleksis/apps/alsijil/managers.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/aleksis/apps/alsijil/managers.py b/aleksis/apps/alsijil/managers.py
index 696874bdf..f13b2a0eb 100644
--- a/aleksis/apps/alsijil/managers.py
+++ b/aleksis/apps/alsijil/managers.py
@@ -73,9 +73,7 @@ class RegisterObjectRelatedQuerySet(QuerySet):
         )
 
     def annotate_subject(self) -> QuerySet:
-        """
-        Annotate every personal note/lesson documentation with the subject of the lesson/event.
-        """
+        """Annotate lesson documentations with the subjects."""
         return self.annotate(
             subject=Case(
                 When(lesson_period__isnull=False, then="lesson_period__lesson__subject__name",),
-- 
GitLab