mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Clarified debug naming of WSGIRequests
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -59,7 +59,7 @@ class WSGIRequest(http.HttpRequest):
|
|||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
from pprint import pformat
|
from pprint import pformat
|
||||||
return '<DjangoRequest\nGET:%s,\nPOST:%s,\nCOOKIES:%s,\nMETA:%s>' % \
|
return '<WSGIRequest\nGET:%s,\nPOST:%s,\nCOOKIES:%s,\nMETA:%s>' % \
|
||||||
(pformat(self.GET), pformat(self.POST), pformat(self.COOKIES),
|
(pformat(self.GET), pformat(self.POST), pformat(self.COOKIES),
|
||||||
pformat(self.META))
|
pformat(self.META))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user