mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Added tests for logging of Http404 warnings.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user