Revert last commit in base.utils.urls
parent
625c705807
commit
a2b8a38016
|
@ -9,7 +9,7 @@ def build_url(path, scheme="http", domain="localhost"):
|
||||||
|
|
||||||
def is_absolute_url(path):
|
def is_absolute_url(path):
|
||||||
"""Test wether or not `path` is absolute url."""
|
"""Test wether or not `path` is absolute url."""
|
||||||
return path.startswith("http") or path.startswith("https")
|
return path.startswith("http")
|
||||||
|
|
||||||
|
|
||||||
def get_absolute_url(path):
|
def get_absolute_url(path):
|
||||||
|
|
Loading…
Reference in New Issue