Skip to content

Commit

Permalink
Merge pull request #1749 from MTG/bookmark_str_bug
Browse files Browse the repository at this point in the history
fix AttributeError on Bookmark.__str__
  • Loading branch information
ffont authored Jan 11, 2024
2 parents 5aa7719 + c3d1cfc commit 9b92c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bookmarks/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 9b92c31

Please sign in to comment.