#20862 closed Uncategorized (fixed)
dev Middleware docs sample isn't up to date with dev startproject template
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
The middleware page includes an example of what startproject
would output; at the time of writing, it is:
MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', )
This doesn't seem to jive with the MIDDLEWARE_CLASSES in the project template, which includes django.middleware.clickjacking.XFrameOptionsMiddleware
by default for the first time.
Note:
See TracTickets
for help on using tickets.
In 26c4bd38acd4c1b5125eaa381420c2ca5603bd39: