django 取消跨域

1.views.py 视图中html @csrf_exempt def Fun(request): pass 2.在html页面python {% csrf_token %} <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModaladd">
相关文章
相关标签/搜索