Include django-htmx debug error handler

This commit is contained in:
Jeremy Stretch 2024-01-22 10:52:39 -05:00
parent dd8d2e1718
commit 21e2a60c1b

View File

@ -2,6 +2,7 @@
{% load static %} {% load static %}
{% load helpers %} {% load helpers %}
{% load i18n %} {% load i18n %}
{% load django_htmx %}
<!DOCTYPE html> <!DOCTYPE html>
<html <html
lang="en" lang="en"
@ -48,6 +49,7 @@
src="{% static 'netbox.js' %}?v={{ settings.VERSION }}" src="{% static 'netbox.js' %}?v={{ settings.VERSION }}"
onerror="window.location='{% url 'media_failure' %}?filename=netbox.js'"> onerror="window.location='{% url 'media_failure' %}?filename=netbox.js'">
</script> </script>
{% django_htmx_script %}
{# Additional <head> content #} {# Additional <head> content #}
{% block head %}{% endblock %} {% block head %}{% endblock %}