Skip to content
Browse files

Fixed warnings in admindocs; refs #20126.

  • Loading branch information...
1 parent f53059b commit d9d24c4521866247f1e5fc1150f5cb9b57979863 @timgraham timgraham committed
Showing with 4 additions and 5 deletions.
  1. +4 −5 docs/ref/contrib/admin/admindocs.txt
9 docs/ref/contrib/admin/admindocs.txt
@@ -30,8 +30,8 @@ the following:
* Install the docutils Python module (
* **Optional:** Linking to templates requires the :setting:`ADMIN_FOR`
setting to be configured.
-* **Optional:** Using the admindocs bookmarklets requires the
- :mod:`XViewMiddleware<django.contrib.admindocs.middleware>` to be installed.
+* **Optional:** Using the admindocs bookmarklets requires
+ ``django.contrib.admindocs.middleware.XViewMiddleware`` to be installed.
Once those steps are complete, you can start browsing the documentation by
going to your admin interface and clicking the "Documentation" link in the
@@ -157,6 +157,5 @@ Using these bookmarklets requires that you are either logged into the
:mod:`Django admin <django.contrib.admin>` as a
:class:`~django.contrib.auth.models.User` with
:attr:`~django.contrib.auth.models.User.is_staff` set to `True`, or that the
-:mod:`XViewMiddleware <django.contrib.admindocs.middleware>` is installed and
-you are accessing the site from an IP address listed in
+``XViewMiddleware`` is installed and you are accessing the site from an IP
+address listed in :setting:`INTERNAL_IPS`.

0 comments on commit d9d24c4

Please sign in to comment.
Something went wrong with that request. Please try again.