diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-07-19 19:32:01 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-07-19 19:32:01 +0000 |
| commit | b653cdcfb2558f8b3023711bd90f97192d6406fd (patch) | |
| tree | b784b2ac47738a1320654e95b86f793bd4876275 /django/http | |
| parent | e8dd3855c1d10154dd147f0b4585185609f61153 (diff) | |
First part of setting request.path correctly.
Still needs:
- testing
- docs changes
- some way of fixing reverse().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/http')
| -rw-r--r-- | django/http/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/django/http/__init__.py b/django/http/__init__.py index ef15479983..fe0b93edcf 100644 --- a/django/http/__init__.py +++ b/django/http/__init__.py @@ -31,6 +31,7 @@ class HttpRequest(object): def __init__(self): self.GET, self.POST, self.COOKIES, self.META, self.FILES = {}, {}, {}, {}, {} self.path = '' + self.path_info = '' self.method = None def __repr__(self): @@ -442,3 +443,4 @@ def str_to_unicode(s, encoding): return unicode(s, encoding, 'replace') else: return s + |
