For example - see below
On 28/04/2017 3:38 PM, Mike Dewhirst wrote:
> I would like to suggest a small change to
> contrib/admin/templates/admin/base.html ...
>
> 33 {% block userlinks %}
> 34 {% if site_url %}
> 35 <a href="{{ site_url }}">{% trans 'View site'
> %}</a> /
> 36 {% endif %}
{% block docs %}
> 37 {% if user.is_active and user.is_staff %}
> 38 {% url 'django-admindocs-docroot' as docsroot %}
> 39 {% if docsroot %}
> 40 <a href="{{ docsroot }}">{% trans
> 'Documentation' %}</a> /
> 41 {% endif %}
> 42 {% endif %}
{% endblock %}
> 43 {% if user.has_usable_password %}
> 44 <a href="{% url 'admin:password_change' %}">{% trans
> 'Change password' %}</a> /
> 45 {% endif %}
> 46 <a href="{% url 'admin:logout' %}">{% trans 'Log
> out' %}</a>
> 47 {% endblock %}
Or in full from line 33 in contrib/admin/templates/admin/base.html
{% block userlinks %}
{% if site_url %}
<a href="{{ site_url }}">{% trans 'View site' %}</a> /
{% endif %}
{% block docs %}
{% if user.is_active and user.is_staff %}
{% url 'django-admindocs-docroot' as docsroot %}
{% if docsroot %}
<a href="{{ docsroot }}">{% trans
'Documentation' %}</a> /
{% endif %}
{% endif %}
{% endblock %}
{% if user.has_usable_password %}
<a href="{% url 'admin:password_change' %}">{% trans
'Change password' %}</a> /
{% endif %}
<a href="{% url 'admin:logout' %}">{% trans 'Log out'
%}</a>
{% endblock %}
Cheers
Mike