#21086 closed Cleanup/optimization (invalid)

XViewMiddleware clarification

Reported by: OBu Owned by: nobody
Component: Documentation Version: master
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).

Change History (1)

comment:1 Changed 22 months ago by aaugustin

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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 in INSTALLED_APPS.

Note: See TracTickets for help on using tickets.
Back to Top