Skip to content
Browse files

[1.0.X] Fixed #8551 -- Added REMOTE_ADDR to the default Test Client e…

…nvironment. Thanks to schmichael for the report and patch.

Merge of r9847 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 910aa0e commit d9b5a414ca2823bcbb8008c8d19efd8ad16f0c35 @freakboy3742 freakboy3742 committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 django/test/
1 django/test/
@@ -189,6 +189,7 @@ def request(self, **request):
'HTTP_COOKIE': self.cookies,
'PATH_INFO': '/',
+ 'REMOTE_ADDR': '',
'SERVER_NAME': 'testserver',

0 comments on commit d9b5a41

Please sign in to comment.
Something went wrong with that request. Please try again.