fix(view): fix build_url function
This commit is contained in:
@@ -45,7 +45,7 @@ def build_url(
|
||||
if query:
|
||||
query_dict = {**dict(parse_qsl(parts.query)), **query}
|
||||
parts = parts._replace(query=urlencode(query_dict))
|
||||
return parts.geturl()
|
||||
return "/".join([""] + parts.geturl().split("/")[3:])
|
||||
|
||||
|
||||
def build_templates(
|
||||
|
||||
Reference in New Issue
Block a user