{# Themes django-two-factor-auth's login / TOTP-setup / backup-token pages. The package ships a placeholder _base.html that loads Bootstrap 4 and jQuery from a CDN and renders a banner telling you to replace it. Overriding it here is the supported way to do that — the package looks this path up by name. Nothing else is needed: the package's own _base_focus.html supplies the centred column via `content_wrapper`, which base.html defines. #} Login {# AG Grid 32.x is pinned deliberately: from 33 onwards themes moved to a JS Theming API and these stylesheets need an explicit `theme: 'legacy'` opt-in. Upgrading means migrating every grid, not swapping a URL. #} {# django-two-factor-auth's templates inject form media through this block name. Without it, the TOTP step's assets are silently dropped. #} {# One shell, one `content` block. The sidebar is what varies by auth state — django-two-factor-auth's own templates extend this file and fill `content`, so there must be exactly one such block reachable from both states. #}
{# `content_wrapper` exists so django-two-factor-auth's _base_focus.html can supply its own centred layout around `content`, which is how that package expects to be themed. Application templates fill `content` and ignore this. #}

Login

Enter your credentials.

Cancel