minor template fix
[wolnelektury.git] / apps / pdcounter / models.py
index f627815..f483293 100644 (file)
@@ -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))