Cara Mengirim Token Middleware CSRF di Django Ajax
{% csrf_token %}
<script>
const csrftoken = document.querySelector('[name=csrfmiddlewaretoken]').value;
</script>
Adorable Ant