

def get_home_url(self, request):
    if self.home_url:
        if self.app_name:
            home_url_name = ('%s:%s' % (self.app_name, self.home_url))
        else:
            home_url_name = self.home_url
        home_url = reverse(home_url_name, current_app=self.name)
    else:
        home_url = None
    return home_url

dataset/ETHPy150Open disqus/nexus/nexus/modules.py NexusModule.get_home_url/original