diff options
Diffstat (limited to 'django/http')
| -rw-r--r-- | django/http/request.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/django/http/request.py b/django/http/request.py index e5e4c51114..175cdd58b5 100644 --- a/django/http/request.py +++ b/django/http/request.py @@ -49,7 +49,12 @@ class HttpRequest(object): # Any variable assignment made here should also happen in # `WSGIRequest.__init__()`. - self.GET, self.POST, self.COOKIES, self.META, self.FILES = {}, {}, {}, {}, {} + self.GET = QueryDict(mutable=True) + self.POST = QueryDict(mutable=True) + self.COOKIES = {} + self.META = {} + self.FILES = MultiValueDict() + self.path = '' self.path_info = '' self.method = None |
