mirror of https://github.com/django/django.git
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:
parent
740a8d20f1
commit
9b6d1efe77
|
@ -59,7 +59,7 @@ class WSGIRequest(http.HttpRequest):
|
|||
|
||||
def __repr__(self):
|
||||
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.META))
|
||||
|
||||
|
|
Loading…
Reference in New Issue