diff --git a/django/contrib/admin/templates/admin/base.html b/django/contrib/admin/templates/admin/base.html
index 479e18b..ecc9b30 100644
a
|
b
|
|
22 | 22 | {% block branding %}{% endblock %} |
23 | 23 | </div> |
24 | 24 | {% if user.is_authenticated and user.is_staff %} |
25 | | <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if user.first_name %}{{ user.first_name|escape }}{% else %}{{ user.username }}{% endif %}</strong>. {% block userlinks %}<a href="{{ root_path }}doc/">{% trans 'Documentation' %}</a> / <a href="{{ root_path }}password_change/">{% trans 'Change password' %}</a> / <a href="{{ root_path }}logout/">{% trans 'Log out' %}</a>{% endblock %}</div> |
| 25 | <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if user.first_name %}{{ user.first_name|escape }}{% else %}{{ user.username }}{% endif %}</strong>. {% block userlinks %}<a href="{% url admin_doc_index %}">{% trans 'Documentation' %}</a> / <a href="{{ root_path }}password_change/">{% trans 'Change password' %}</a> / <a href="{{ root_path }}logout/">{% trans 'Log out' %}</a>{% endblock %}</div> |
26 | 26 | {% endif %} |
27 | 27 | {% block nav-global %}{% endblock %} |
28 | 28 | </div> |
diff --git a/django/contrib/admindocs/urls.py b/django/contrib/admindocs/urls.py
index e7baa76..117bcef 100644
a
|
b
|
from django.conf.urls.defaults import *
|
2 | 2 | from django.contrib.admindocs import views |
3 | 3 | |
4 | 4 | urlpatterns = patterns('', |
5 | | ('^$', views.doc_index), |
| 5 | ('^$', views.doc_index, {}, "admin_doc_index"), |
6 | 6 | ('^bookmarklets/$', views.bookmarklets), |
7 | 7 | ('^tags/$', views.template_tag_index), |
8 | 8 | ('^filters/$', views.template_filter_index), |