This commit is contained in:
Ross
2021-09-09 17:52:41 +01:00
parent eb469c11ed
commit aab3566d73
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ class QuestionNote(models.Model):
# return reverse('rapids:question_detail', kwargs={'pk': self.pk})
def __str__(self):
return "{} [{}] {} / {}".format(self.author, self.created_on, self.note_type, self.note)
return "{}: {} [{}] {} / {}".format(self.content_type, self.author, self.created_on, self.note_type, self.note)
def get_absolute_url(self):
return "/"