Skip to content

Commit

Permalink
fix AttributeError on Bookmark.__str__
Browse files Browse the repository at this point in the history
fixes FREESOUND-WEB-1V5 and FREESOUND-WEB-1V4
  • Loading branch information
Bomme committed Jan 7, 2024
1 parent f50789d commit c3d1cfc
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 c3d1cfc

Please sign in to comment.