From c3d1cfc3dea799f24dccb280a47320107d4dd5c4 Mon Sep 17 00:00:00 2001 From: Bomme <13520622+Bomme@users.noreply.github.com> Date: Sun, 7 Jan 2024 21:19:00 +0100 Subject: [PATCH] fix AttributeError on Bookmark.__str__ fixes FREESOUND-WEB-1V5 and FREESOUND-WEB-1V4 --- bookmarks/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookmarks/models.py b/bookmarks/models.py index 1673abb22..d12332bd7 100755 --- a/bookmarks/models.py +++ b/bookmarks/models.py @@ -40,7 +40,7 @@ class Bookmark(models.Model): created = models.DateTimeField(db_index=True, auto_now_add=True) def __str__(self): - return f"Bookmark: {self.name}" + return f"Bookmark: {self.sound} by {self.user}" @property def category_name_or_uncategorized(self):