{% extends 'adminlte2/layouts/login.html' %} {% load i18n %} {% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock title %} {% block body_class %}{{ block.super }} login{% endblock body_class %} {% block login_logo_href %} {% url 'admin:index' %} {% endblock login_logo_href %} {% block login_logo_text %}{{ site_header|default:_('Django administration') }}{% endblock login_logo_text %} {% block login_custom_messages %} {% if form.errors and not form.non_field_errors %}
{% if form.errors.items|length == 1 %} {% trans "Please correct the error below." %} {% else %} {% trans "Please correct the errors below." %} {% endif %}
{% blocktrans trimmed %} You are authenticated as {{ username }}, but are not authorized to access this page. Would you like to login to a different account? {% endblocktrans %}