Opened 11 years ago

Closed 11 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).

Change History (1)

comment:1 by Aymeric Augustin, 11 years ago

Resolution: invalid
Status: newclosed

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