summaryrefslogtreecommitdiff
path: root/django/http
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-09-14 05:39:59 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-09-14 05:39:59 +0000
commit1b745be5a1c16d6f807113013ff6234e74f1b6ec (patch)
treea1d3c433ab9bfce18ee5a7ba121294b5cd19c583 /django/http
parent300e19effca99319991d5ca0323bfc9a869a0515 (diff)
Fixed a typo from [6164].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/http')
-rw-r--r--django/http/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/http/__init__.py b/django/http/__init__.py
index 4421573258..2b68a6243a 100644
--- a/django/http/__init__.py
+++ b/django/http/__init__.py
@@ -54,7 +54,7 @@ class HttpRequest(object):
``request.get_full_path()``.
"""
if not location:
- location = request.get_full_path()
+ location = self.get_full_path()
if not ':' in location:
current_uri = '%s://%s%s' % (self.is_secure() and 'https' or 'http',
get_host(self), self.path)