def is_active(self, request, value):
url = request.get_full_path()
return url == str(self.url) or url in set(str(url) for url in self.more_urls)
def check_active(self, request, value):
def is_active(self, request, value):
url = request.get_full_path()
return url == str(self.url) or url in set(str(url) for url in self.more_urls)
def check_active(self, request, value):