{# il2ks-template: templates/admin/base_site.html v1 - copy this line along when you override #} {% extends "admin/base_site.html" %}{% load i18n static %}{% comment %} Django's admin frame plus a warning banner (TD-25). `custom_problems` comes from Il2ksAdminSite.each_context: a list of overrides in custom/ that are based on an old or unknown template version, only filled for staff. This file extends the template of the same name from django.contrib.admin (Django allows that), so the rest of the admin is untouched. {% endcomment %} {% block extrastyle %}{{ block.super }}{% if custom_problems %}{% endif %}{% endblock %} {% block messages %} {% if custom_problems %} {% endif %} {{ block.super }} {% endblock %}