mirror of https://github.com/django/django.git
Fixed a typo from [6164].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
300e19effc
commit
1b745be5a1
|
@ -54,7 +54,7 @@ class HttpRequest(object):
|
||||||
``request.get_full_path()``.
|
``request.get_full_path()``.
|
||||||
"""
|
"""
|
||||||
if not location:
|
if not location:
|
||||||
location = request.get_full_path()
|
location = self.get_full_path()
|
||||||
if not ':' in location:
|
if not ':' in location:
|
||||||
current_uri = '%s://%s%s' % (self.is_secure() and 'https' or 'http',
|
current_uri = '%s://%s%s' % (self.is_secure() and 'https' or 'http',
|
||||||
get_host(self), self.path)
|
get_host(self), self.path)
|
||||||
|
|
Loading…
Reference in New Issue