Add todo regarding code removal in M

Change-Id: I04eb162c97f664149d4abd6b6da5dde653697b21
This commit is contained in:
Rob Cresswell 2015-08-11 18:51:00 +01:00
parent a24f259bea
commit 11f365c646
1 changed files with 1 additions and 0 deletions

View File

@ -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