Opened 8 years ago

Closed 8 years ago

#27348 closed Bug (invalid)

Typo in docs for modify_settings

Reported by: Thomas Güttler Owned by: nobody
Component: Documentation Version: 1.10
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

https://docs.djangoproject.com/en/1.10/topics/testing/tools/#django.test.modify_settings

wrong: @modify_settings(MIDDLEWARE=...

correct @modify_settings(MIDDLEWARE_CLASSES=...

Change History (1)

comment:1 by Tim Graham, 8 years ago

Component: UncategorizedDocumentation
Resolution: invalid
Status: newclosed
Type: UncategorizedBug

settings.MIDDLEWARE is new in Django 1.10 and supersedes the deprecated MIDDLEWARE_CLASSES setting.

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