1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Added tests for logging of Http404 warnings.

This commit is contained in:
Carl Worth
2016-04-13 14:38:17 -07:00
committed by Tim Graham
parent 86880ab89b
commit 5e00b14403
4 changed files with 51 additions and 3 deletions

View File

@@ -1,6 +1,11 @@
from __future__ import unicode_literals
from django.core.exceptions import DisallowedHost, SuspiciousOperation
from django.http import HttpResponse
def innocent(request):
return HttpResponse('innocent')
def suspicious(request):