summaryrefslogtreecommitdiff
path: root/tests/middleware
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-02-09 13:27:32 -0800
committerTim Graham <timograham@gmail.com>2019-02-09 16:27:32 -0500
commitc492fdfd240f10ade5aa11938fc87f903ef85890 (patch)
tree6d4736e01712797dc7f15a070aa33fdf3995ce75 /tests/middleware
parent959d0c078a1c903cd1e4850932be77c4f0d2294d (diff)
downloaddjango-c492fdfd240f10ade5aa11938fc87f903ef85890.tar.gz
Removed default empty content argument from HttpResponse calls.
Diffstat (limited to 'tests/middleware')
-rw-r--r--tests/middleware/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/middleware/views.py b/tests/middleware/views.py
index 50e23d1782..3f8e055a53 100644
--- a/tests/middleware/views.py
+++ b/tests/middleware/views.py
@@ -2,4 +2,4 @@ from django.http import HttpResponse
def empty_view(request, *args, **kwargs):
- return HttpResponse('')
+ return HttpResponse()