📅  最后修改于: 2022-03-11 14:47:09.137000             🧑  作者: Mango
代码示例1
from django.views.decorators.csrf import csrf_exempt
@csrf_exempt
def my_view(request):
return HttpResponse('Hello world')