mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
Add a book details page in bookshelf
This commit is contained in:
@@ -58,8 +58,8 @@ class Book(models.Model):
|
||||
def publisher_name(self):
|
||||
return self.publisher.name
|
||||
|
||||
# def get_absolute_url(self):
|
||||
# return reverse("books", kwargs={"uuid": self.uuid})
|
||||
def get_absolute_url(self):
|
||||
return reverse("book", kwargs={"uuid": self.uuid})
|
||||
|
||||
|
||||
class BookImage(Image):
|
||||
|
Reference in New Issue
Block a user