Removed unused django.utils.http.PROTOCOL_TO_PORT.
Unused since b0c56b895f
.
This commit is contained in:
parent
8dcd01046e
commit
3913a56558
|
@ -34,11 +34,6 @@ ASCTIME_DATE = re.compile(r'^\w{3} %s %s %s %s$' % (__M, __D2, __T, __Y))
|
||||||
RFC3986_GENDELIMS = str(":/?#[]@")
|
RFC3986_GENDELIMS = str(":/?#[]@")
|
||||||
RFC3986_SUBDELIMS = str("!$&'()*+,;=")
|
RFC3986_SUBDELIMS = str("!$&'()*+,;=")
|
||||||
|
|
||||||
PROTOCOL_TO_PORT = {
|
|
||||||
'http': 80,
|
|
||||||
'https': 443,
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@keep_lazy_text
|
@keep_lazy_text
|
||||||
def urlquote(url, safe='/'):
|
def urlquote(url, safe='/'):
|
||||||
|
|
Loading…
Reference in New Issue