from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
@method_decorator(csrf_exempt, name='dispatch')
class ViewRPALogin(View):
def post(self, request):
from django.views.decorators.csrf import csrf_exempt
@csrf_exempt
def dasd(request):
pass
from django.views.decorators.csrf import csrf_exempt
class ViewRPALogin(View):
@csrf_exempt
def post(self, request):
网友评论