X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/dea27f4e683e78d64d7841489ac1059e6a7d98c9..fa684e7b11bba7f7fce1c0e7832b34d0b8593db4:/apps/pdcounter/models.py

diff --git a/apps/pdcounter/models.py b/apps/pdcounter/models.py
index f62781555..f4832931f 100644
--- a/apps/pdcounter/models.py
+++ b/apps/pdcounter/models.py
@@ -83,3 +83,5 @@ class BookStub(models.Model):
     def name(self):
         return self.title
 
+    def pretty_title(self, html_links=False):
+        return ', '.join((self.author, self.title))