This commit is contained in:
Ross
2021-09-11 14:22:21 +01:00
parent e3fbde8e39
commit 04aa5689aa
3 changed files with 14 additions and 10 deletions
+4 -1
View File
@@ -153,4 +153,7 @@ class QuestionNote(models.Model):
if self.user_author is not None:
return self.user_author.username
else:
return self.author
return self.author
def get_short_str(self):
return f"{self.note_type} - {self.note}"