def get_absolute_url(self):
return reverse("catalogue_author", args=[self.slug])
def get_absolute_url(self):
return reverse("catalogue_author", args=[self.slug])
def get_absolute_url(self):
return reverse("catalogue_book", args=[self.slug])
def get_absolute_url(self):
return reverse("catalogue_book", args=[self.slug])
def authors_str(self):
return ", ".join(str(author) for author in self.authors.all())
authors_str.admin_order_field = 'authors__last_name'
def authors_str(self):
return ", ".join(str(author) for author in self.authors.all())
authors_str.admin_order_field = 'authors__last_name'
def translators_str(self):
return ", ".join(str(author) for author in self.translators.all())
translators_str.admin_order_field = 'translators__last_name'
def translators_str(self):
return ", ".join(str(author) for author in self.translators.all())
translators_str.admin_order_field = 'translators__last_name'