Skip to content

Commit 3b40253

Browse files
committed
further undo of WSGI->TestRequest change that was used for debugging problems in unit testing
- Legacy-Id: 6248
1 parent cf8e722 commit 3b40253

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v4.70/django/test/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def __call__(self, environ):
7171

7272
signals.request_started.send(sender=self.__class__)
7373
try:
74-
request = TestRequest(environ)
74+
request = WSGIRequest(environ)
7575
# sneaky little hack so that we can easily get round
7676
# CsrfViewMiddleware. This makes life easier, and is probably
7777
# required for backwards compatibility with external tests against

0 commit comments

Comments
 (0)