xxxxxxxxxx
from django.views.decorators.csrf import csrf_exempt
from django.utils.decorators import method_decorator
from django.shortcuts import HttpResponse
@method_decorator(csrf_exempt, name='dispatch')
class UpdateProfile(View):
def post(self,request):
return HttpResponse("update Successful")
mefiz.com