fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
another vandalism fixed
[wolnelektury.git]
/
apps
/
pdcounter
/
models.py
diff --git
a/apps/pdcounter/models.py
b/apps/pdcounter/models.py
index
f627815
..
f483293
100644
(file)
--- 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))