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.