You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
278 B
11 lines
278 B
|
13 years ago
|
from django.http import HttpResponse
|
||
|
|
from django.utils.decorators import decorator_from_middleware
|
||
|
|
from django.middleware.doc import XViewMiddleware
|
||
|
|
|
||
|
|
|
||
|
|
xview_dec = decorator_from_middleware(XViewMiddleware)
|
||
|
|
|
||
|
|
def xview(request):
|
||
|
|
return HttpResponse()
|
||
|
|
xview = xview_dec(xview)
|