Opened 12 years ago
Closed 12 years ago
#21086 closed Cleanup/optimization (invalid)
XViewMiddleware clarification
| Reported by: | OBu | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| Severity: | Normal | Keywords: | admindocs |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
Documentation says:
"Optional: Using the admindocs bookmarklets requires django.contrib.admindocs.middleware.XViewMiddleware to be installed."
should be
"Optional: Using the admindocs bookmarklets requires django.contrib.admindocs.middleware to be in your installed apps settings."
or
"Optional: Using the admindocs bookmarklets requires django.contrib.admindocs.middleware.XViewMiddleware to be available (add django.contrib.admindocs.middleware to installed apps).
Note:
See TracTickets
for help on using tickets.
I don't think this bug report is correct.
First, if something had to go into
INSTALLED_APPS, it would be"django.contrib.admindocs"and not"django.contrib.admindocs.middleware".Second, to activate a middleware, you need to add it in
MIDDLEWARE_CLASSES, not inINSTALLED_APPS.