{% extends "admin/base.html" %} {% load i18n %} {% block extrahead %} {# These are needed to enable autocompletes in forms #} {% include 'autocomplete_light/static.html' %} {% if user.is_authenticated %} {# This script enables global navigation autocomplete #} {# refer to the docs about global navigation autocomplete for more information #} {% include 'navigation_autocomplete/script.html' %} {% endif %} {% endblock %} {% block branding %}

{% trans 'Autocomplete-light demo' %}

{% if user.is_authenticated %} {% comment %} This is a simple input, used for global navigation autocomplete. It serves as an example, refer to the documentation to make a navigation autocomplete. FYI It leaves in test_project/navigation_autocomplete/templates {% endcomment %} {% include 'navigation_autocomplete/input.html' %} {% endif %} {% endblock %}