def METHOD_NAME(self):
    import ietf.community.views
    if self.user:
        return urlreverse(ietf.community.views.view_list, kwargs={ 'username': self.user.username })
    elif self.group:
        return urlreverse("ietf.group.views.group_documents", kwargs={ 'acronym': self.group.acronym })
    return ""