//cdnjs.cloudflare.com/ajax/libs/dragula/3.7.2/dragula.min.js'></script>
</head>

<body>
    <script>
        $(document).ready(function () {
            $("#invalid-button").click(function () {
                var patched = "{% url 'invalid_handler' 0 %}".replace('0', "{{object.pk}}");
                $.ajax({
                    type: 'POST',
                    url: patched,
                    data: {
                        csrfmiddlewaretoken: '{{ csrf_token }}',
                        i