diff options
| author | Loic Bistuer <loic.bistuer@sixmedia.com> | 2013-06-26 14:36:25 +0700 |
|---|---|---|
| committer | Loic Bistuer <loic.bistuer@sixmedia.com> | 2013-06-26 14:36:25 +0700 |
| commit | 48ce167d895b7e2a9d00884a4a8679851fa890af (patch) | |
| tree | ec3f33b2c8d2e002d2aa6e8b647d264bc53c8d6a /django/http/request.py | |
| parent | 7d0c3b9b2648ca71e98f81a16cec18a17d73dd9a (diff) | |
Fixed missing initializations in WSGIRequest. Refs #20619
Diffstat (limited to 'django/http/request.py')
| -rw-r--r-- | django/http/request.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/django/http/request.py b/django/http/request.py index 37aa1a355a..b7f9d241a7 100644 --- a/django/http/request.py +++ b/django/http/request.py @@ -39,6 +39,10 @@ class HttpRequest(object): _upload_handlers = [] def __init__(self): + # WARNING: The `WSGIRequest` subclass doesn't call `super`. + # Any variable assignment made here should also happen in + # `WSGIRequest.__init__()`. + self.GET, self.POST, self.COOKIES, self.META, self.FILES = {}, {}, {}, {}, {} self.path = '' self.path_info = '' |
