def __unicode__(self):
if self.url:
page_title = smart_unicode('%s "%s" on http://%s/%s/' % (self.content_type, self.content_object, self.site, self.url))
else:
page_title = smart_unicode('%s "%s" on http://%s/' % (self.content_type, self.content_object, self.site))
return page_title