{% load i18n %}{% comment %} The fallback base, used when django.contrib.admin is not available to extend. Every page in this directory extends `base_template`, which the views resolve to "admin/base_site.html" when the admin is installed and routed, and to this file otherwise. That is what lets one copy of each page serve both cases: duplicating the pages per base would drift, and the prose in them is translated, so drift would mean two message catalogues saying different things. The block names deliberately match the admin's: `title`, `extrastyle`, `bodyclass`, `content_title`, `content`. Django silently ignores a child block with no matching parent block, so a page may also override admin-only blocks like `usertools` and they become no-ops here. Styling is inline and stays inline. These pages are reached during failures, and break_glass.html is reached during an incident. A page that needs a separate stylesheet to be readable is a page that can arrive unreadable. {% endcomment %} {% block title %}{% translate "Sign-in" %}{% endblock %} {% block extrastyle %}{% endblock %}
{% block content_title %}{% endblock %} {% block content %}{% endblock %}