.
This commit is contained in:
+4
-1
@@ -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}"
|
||||
Reference in New Issue
Block a user