Changed "has description" to "description" in Book.has_pdf_file method description.
authorMarek Stępniowski <marek@stepniowski.com>
Thu, 4 Sep 2008 11:16:26 +0000 (13:16 +0200)
committerMarek Stępniowski <marek@stepniowski.com>
Thu, 4 Sep 2008 11:16:26 +0000 (13:16 +0200)
catalogue/models.py

index 0da75e0..1e54ffe 100644 (file)
@@ -83,7 +83,7 @@ class Book(models.Model):
     
     def has_description(self):
         return len(self.description) > 0
     
     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):
     has_description.boolean = True
     
     def has_pdf_file(self):