fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
307e2c6
)
Changed "has description" to "description" in Book.has_pdf_file method description.
author
Marek Stępniowski
<marek@stepniowski.com>
Thu, 4 Sep 2008 11:16:26 +0000
(13:16 +0200)
committer
Marek Stępniowski
<marek@stepniowski.com>
Thu, 4 Sep 2008 11:16:26 +0000
(13:16 +0200)
catalogue/models.py
patch
|
blob
|
history
diff --git
a/catalogue/models.py
b/catalogue/models.py
index
0da75e0
..
1e54ffe
100644
(file)
--- a/
catalogue/models.py
+++ b/
catalogue/models.py
@@
-83,7
+83,7
@@
class Book(models.Model):
def has_description(self):
return len(self.description) > 0
- has_description.short_description = _('
Has
description')
+ has_description.short_description = _('description')
has_description.boolean = True
def has_pdf_file(self):