From: Marek Stępniowski Date: Thu, 4 Sep 2008 11:16:26 +0000 (+0200) Subject: Changed "has description" to "description" in Book.has_pdf_file method description. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/00d08f06af25502105e7216c938db74402cc3da1?hp=307e2c65ef1caf8adae53582177912cef6f9ec51 Changed "has description" to "description" in Book.has_pdf_file method description. --- diff --git a/catalogue/models.py b/catalogue/models.py index 0da75e0bd..1e54ffe35 100644 --- 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):