Csrf_exempt не работает в моем проекте django

Я использую django 3.2 Я пытаюсь использовать twilio webhook на моем сайте, но все еще получаю ошибку

403 forbidden
<p>CSRF verification failed. Request aborted.</p>


  <p>You are seeing this message because this site requires a CSRF cookie
    when submitting forms. This cookie is required for security reasons, to
    ensure that your browser is not being hijacked by third parties.</p>
  <p>If you have configured your browser to disable cookies, please
    re-enable them, at least for this site, or for “same-origin” requests.</p>

моя точка зрения

@csrf_exempt
@validate_twilio_request
def webhook(request):
    return HttpResponse("something")

что я делаю не так?

Вернуться на верх