def adm_text(self): ''' returns an excerpt of 100 characters of self.text, with the html tags stripped ''' return strip_tags(misc.get_excerpt(self.text, 75, '...'))
def adm_publication(self): return misc.get_excerpt(self.publication.title, 20, '-')
def adm_text(self): ''' returns an excerpt of 100 characters of self.text, with the html tags stripped ''' return strip_tags(misc.get_excerpt(self.text, 75, '...'))
def adm_publication(self): return misc.get_excerpt(self.publication.title, 20, '-')