方法:django
from django.views.decorators.csrf import csrf_exemptcsrf
@crsf_exemptimport
def fun():方法
passim
若要所有去掉,setting裏面註釋中間價就好註釋