From 83f63730306fa3cbdcbe7f0dcb36b0cdcfd1ec4a Mon Sep 17 00:00:00 2001 From: Ben Spaulding Date: Sun, 12 Jul 2015 15:37:17 -0500 Subject: Fixed #25116 -- Removed long-broken admindocs bookmarklets These were broken back in commit 64e11a6. --- docs/ref/contrib/admin/admindocs.txt | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/contrib/admin/admindocs.txt b/docs/ref/contrib/admin/admindocs.txt index 040dc25fe0..76060ae28e 100644 --- a/docs/ref/contrib/admin/admindocs.txt +++ b/docs/ref/contrib/admin/admindocs.txt @@ -141,22 +141,13 @@ template is stored. Included Bookmarklets ===================== -Several useful bookmarklets are available from the ``admindocs`` page: +One bookmarklet is available from the ``admindocs`` page: Documentation for this page Jumps you from any page to the documentation for the view that generates that page. -Show object ID - Shows the content-type and unique ID for pages that represent a single - object. - -Edit this object - Jumps to the admin page for pages that represent a single object. - -Using these bookmarklets requires that you are either logged into the -:mod:`Django admin ` as a +Using this bookmarklet requires that ``XViewMiddleware`` is installed and that +you are logged into the :mod:`Django admin ` as a :class:`~django.contrib.auth.models.User` with -:attr:`~django.contrib.auth.models.User.is_staff` set to ``True``, or that the -``XViewMiddleware`` is installed and you are accessing the site from an IP -address listed in :setting:`INTERNAL_IPS`. +:attr:`~django.contrib.auth.models.User.is_staff` set to ``True``. -- cgit v1.3