summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/test/client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/test/client.py b/django/test/client.py
index ecc3a1c881..f4435c090f 100644
--- a/django/test/client.py
+++ b/django/test/client.py
@@ -189,6 +189,7 @@ class Client(object):
'HTTP_COOKIE': self.cookies,
'PATH_INFO': '/',
'QUERY_STRING': '',
+ 'REMOTE_ADDR': '127.0.0.1',
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': '',
'SERVER_NAME': 'testserver',