{% load dump_die %} {% if dump_enabled %} {% if render_head %} {# Load required css and js for dump to be styled correctly #} {# The CSS only styles the dumped output, so it doesn't change the rest of the page. #} {% include "django_dump_die/partials/_head.html" %} {% endif %} {# Use the dd_object template tag to do the dump #} {% dump_objects objects %}