{% extends "_base.html" %} {% block main %} This page shows you django-htmx’s error handler. {% if DEBUG %} The error handler will work, since DEBUG = True. {% else %} The error handler will not work, since DEBUG = False. {% endif %} Try divide by zero Fetch non-existent page {% endblock %}
This page shows you django-htmx’s error handler.
{% if DEBUG %} The error handler will work, since DEBUG = True. {% else %} The error handler will not work, since DEBUG = False. {% endif %}
DEBUG = True