{% load i18n static %} {% load admin_urls static admin_list %} {% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %} {% block title %}{% endblock %} {% block extrastyle %} {% endblock %} {% block extrahead %} {% endblock %} {{ media.js }} {% if LANGUAGE_BIDI %} {# PUT HERE YOUR CUSTOM RTL STYLESHEET #} {% comment %} {% endcomment %} {% endif %}
{% if not is_popup %} {% if not is_popup and is_nav_sidebar_enabled %} {% block nav-sidebar %} {% include "admin/nav_sidebar.html" %} {% endblock %} {% endif %} {% block breadcrumbs %} {% endblock %} {% endif %}
{% block messages %} {% if messages %}
    {% for message in messages %} {{ message|capfirst }} {% endfor %}
{% endif %} {% endblock messages %}
{% block pretitle %}{% endblock %} {% block content_title %}{% if title %}

{{ title }}

{% endif %}{% endblock %} {% block content %} {% block object-tools %}{% endblock %} {{ content }} {% endblock %}
{% block footer %}{% endblock %}
{% block extrajs %} {% endblock %}