2010-01-10 17:21:52 +00:00
|
|
|
# -*- coding:utf-8 -*-
|
|
|
|
from django.http import HttpResponse
|
|
|
|
from django.utils.decorators import decorator_from_middleware
|
2010-10-18 23:58:06 +00:00
|
|
|
from django.views.generic import View
|
2010-01-10 17:21:52 +00:00
|
|
|
from django.middleware.doc import XViewMiddleware
|
|
|
|
|
|
|
|
xview_dec = decorator_from_middleware(XViewMiddleware)
|
|
|
|
|
|
|
|
def xview(request):
|
|
|
|
return HttpResponse()
|
2010-10-18 23:58:06 +00:00
|
|
|
|
|
|
|
class XViewClass(View):
|
|
|
|
def get(request):
|
|
|
|
return HttpResponse()
|