{% include 'django/forms/widgets/text.html' %}
<script>
    initTagField(
        "{{ widget.attrs.id|escapejs }}",
        "{{ widget.autocomplete_url|escapejs }}",
        {{ widget.options_json|safe }}
    );
</script>