def url(self, path="", request=None, mobile=False): """ returns a url, with optional path appended NOTE: if appending a path, it should start with '/' """ return actor_url(_get_actor_urlnick_from_nick(self.nick), self.type, path=path, request=request, mobile=mobile)
def display_nick(self): return self.nick.split("@")[0] return _get_actor_urlnick_from_nick(self.nick)
def shortnick(self): return _get_actor_urlnick_from_nick(self.nick)