mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #21386 -- Removed admindocs dependence on sites framework
* Removed ADMIN_FOR setting and warn warning * Group view functions by namespace instead of site * Added a test verifying namespaces are listed Thanks to Claude Paroz for reviewing and ideas for improvement.
This commit is contained in:
parent
f1b3ab9c21
commit
a39d672ec7
8 changed files with 99 additions and 82 deletions
|
@ -28,8 +28,6 @@ the following:
|
|||
``r'^admin/'`` entry, so that requests to ``/admin/doc/`` don't get
|
||||
handled by the latter entry.
|
||||
* Install the docutils Python module (http://docutils.sf.net/).
|
||||
* **Optional:** Linking to templates requires the :setting:`ADMIN_FOR`
|
||||
setting to be configured.
|
||||
* **Optional:** Using the admindocs bookmarklets requires
|
||||
``django.contrib.admindocs.middleware.XViewMiddleware`` to be installed.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue