mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #25116 -- Removed long-broken admindocs bookmarklets
These were broken back in commit 64e11a6
.
This commit is contained in:
parent
d62194a260
commit
83f6373030
2 changed files with 5 additions and 26 deletions
|
@ -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 <django.contrib.admin>` as a
|
||||
Using this bookmarklet requires that ``XViewMiddleware`` is installed and that
|
||||
you are 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
|
||||
``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``.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue