Add todo regarding code removal in M
Change-Id: I04eb162c97f664149d4abd6b6da5dde653697b21
This commit is contained in:
parent
a24f259bea
commit
11f365c646
|
@ -39,6 +39,7 @@ LOADING_IMAGE = '<img src="/static/dashboard/img/loading.gif" />'
|
|||
def _escape_full_url(url):
|
||||
# NOTE (lhcheng): In Django 1.8, HttpRequest.get_full_path()
|
||||
# method now escapes unsafe characters
|
||||
# TODO(robcresswell): Remove in M, once django 1.7 is dropped
|
||||
if django.VERSION < (1, 8):
|
||||
return http.urlquote(url)
|
||||
return url
|
||||
|
|
Loading…
Reference in New Issue