Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我在 Django 中放@ajax_required之前@csrf_exempt,在 Chrome 中它会失败并出现 403 错误。在 Firefox 中,两者都可以正常工作。如果我交换它们,它适用于 Chrome。这正常吗?
@ajax_required
@csrf_exempt