{% extends "django_tomselect/tomselect.html" %} {% comment %} This template is used to set up the global TomSelect configuration and initialization logic once per page. Blocks: - block tomselect_global_setup: Add global initialization logic, such as the MutationObserver for dynamic content. Overriding Example: To override the global setup logic, you can create a custom template in your Django app. For example, create a file named `templates/django_tomselect/tomselect_setup.html` in your app's templates directory. Then, in that file, you can override the block: {% load i18n %} {% load django_tomselect %} This will replace the original code block in the `tomselect_setup.html` template. {% endcomment %} {% load i18n %} {% load django_tomselect %}