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