From 044e68304f1df1006e1236d941d4886cb358d09e Mon Sep 17 00:00:00 2001 From: AndrzejMorawski00 Date: Tue, 3 Dec 2024 22:11:43 +0100 Subject: [PATCH] I guess I know how it works now --- zapisy/apps/theses/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zapisy/apps/theses/models.py b/zapisy/apps/theses/models.py index 02b2bd6600..5eb773cc40 100644 --- a/zapisy/apps/theses/models.py +++ b/zapisy/apps/theses/models.py @@ -50,6 +50,7 @@ def visible(self, user): return self.filter((~Q(status=ThesisStatus.BEING_EVALUATED) & ~Q(status=ThesisStatus.RETURNED_FOR_CORRECTIONS)) | Q(id__in=user_theses)) + class Thesis(models.Model): """Represents a thesis in the theses system.