mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-26 10:49:07 +02:00
* Install django-htmx * Replace is_htmx() function with request.htmx * Remove is_embedded() HTMX utility * Include django-htmx debug error handler
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
{% load static %}
|
||||
{% load helpers %}
|
||||
{% load i18n %}
|
||||
{% load django_htmx %}
|
||||
<!DOCTYPE html>
|
||||
<html
|
||||
lang="en"
|
||||
@@ -48,6 +49,7 @@
|
||||
src="{% static 'netbox.js' %}?v={{ settings.VERSION }}"
|
||||
onerror="window.location='{% url 'media_failure' %}?filename=netbox.js'">
|
||||
</script>
|
||||
{% django_htmx_script %}
|
||||
|
||||
{# Additional <head> content #}
|
||||
{% block head %}{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user