mirror of
https://github.com/django/django.git
synced 2025-07-04 17:59:13 +00:00
magic-removal: Removed 'user' from django.core.handlers.modpython.ModPythonRequest.__repr__()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
8657fdd11e
commit
218035c3e1
@ -16,9 +16,9 @@ class ModPythonRequest(http.HttpRequest):
|
|||||||
self.path = req.uri
|
self.path = req.uri
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return '<ModPythonRequest\npath:%s,\nGET:%s,\nPOST:%s,\nCOOKIES:%s,\nMETA:%s,\nuser:%s>' % \
|
return '<ModPythonRequest\npath:%s,\nGET:%s,\nPOST:%s,\nCOOKIES:%s,\nMETA:%s>' % \
|
||||||
(self.path, pformat(self.GET), pformat(self.POST), pformat(self.COOKIES),
|
(self.path, pformat(self.GET), pformat(self.POST), pformat(self.COOKIES),
|
||||||
pformat(self.META), pformat(self.user))
|
pformat(self.META))
|
||||||
|
|
||||||
def get_full_path(self):
|
def get_full_path(self):
|
||||||
return '%s%s' % (self.path, self._req.args and ('?' + self._req.args) or '')
|
return '%s%s' % (self.path, self._req.args and ('?' + self._req.args) or '')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user