def has_description(self):
return len(self.description) > 0
- has_description.short_description = _('Has description')
+ has_description.short_description = _('description')
has_description.boolean = True
@permalink
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):
class Meta:
ordering = ('book', 'anchor',)
verbose_name = _('fragment')
- verbose_name_plural = _('fragment')
+ verbose_name_plural = _('fragments')