mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Fixed an issue with jquery selecting wrong selector on favorite
This commit is contained in:
@@ -133,7 +133,7 @@ class Favorites(models.Model):
|
||||
db_table = "favorites"
|
||||
|
||||
def __str__(self):
|
||||
return self.book
|
||||
return str(self.book)
|
||||
|
||||
book = models.ForeignKey(Books, on_delete=models.CASCADE)
|
||||
user = models.ForeignKey(
|
||||
|
||||
Reference in New Issue
Block a user