Update urls.py

remotes/origin/enhancement/email-actions
David Barragán Merino 2014-07-02 08:14:51 +02:00
parent 4a21e00b6f
commit 625c705807
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ def build_url(path, scheme="http", domain="localhost"):
def is_absolute_url(path):
"""Test wether or not `path` is absolute url."""
return path.startswith("http")
return path.startswith("http") or path.startswith("https")
def get_absolute_url(path):