This commit is contained in:
Ross
2025-01-02 22:26:00 +00:00
parent e6beb734ab
commit 7fc12737c7
4 changed files with 15 additions and 5 deletions
+1 -1
View File
@@ -1735,7 +1735,7 @@ class ExamCollection(models.Model, AuthorMixin):
)
def __str__(self):
if self.date is not None and self.date is not "":
if self.date is not None and self.date != "":
return f"{self.name} [{self.date}]"
else:
return f"{self.name}"