def __getattr__(self, name): if name == "abstract": return get_abstract(self.content) if name == "visible_comments": return self.comments.filter(visible=True) return super(Article, self).__getattr__(name)
def __unicode__(self): return "<BaseLine: %s>" % get_abstract(self.content)
def __unicode__(self): return "<ClinicCondition: %s>" % get_abstract(self.content)
def __unicode__(self): return "%s, %s" % (self.type,get_abstract(self.content))
def __unicode__(self): return "<Guideline: %s>" % get_abstract(self.content)
def __unicode__(self): return "%s" % get_abstract(self.brief_content)
def __unicode__(self): return "<ResultContent: %s>" % get_abstract(self.content)
def __getattr__(self, name): if name == "abstract": return get_abstract(self.info) return super(BlogUser, self).__getattr__(name)
def __getattr__(self, name): if name == "abstract": return get_abstract(self.content) return super(Article, self).__getattr__(name)