{% extends "admin/base.html" %} {% load static %} {# Same shape as Unfold's own admin/base_site.html. Extending admin/base.html (not #} {# unfold/layouts/base.html) is what brings the `messages` block, so flash messages show. #} {% block extrahead %} {{ block.super }} {% endblock %} {% block title %}{% if subtitle %}{{ subtitle }} | {% endif %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %} {% block branding %} {% include "unfold/helpers/site_branding.html" %} {% endblock %} {% block nav-global %}{% endblock %}