X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0afa8ce8f8858c875404136d81dfb1645aeac19f..18e520abab50a7e37eff7b09b9754ed32899811b:/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))