Opened 6 years ago

Closed 6 years ago

#29765 closed Cleanup/optimization (wontfix)

Mention MIDDLEWARE/INSTALLED_APPS order is important in settings.py

Reported by: Windson yang Owned by: Windson yang
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

It will be better to add https://docs.djangoproject.com/en/2.1/topics/http/middleware/#middleware-order-and-layering before

MIDDLEWARE = [
...
]

and https://docs.djangoproject.com/en/2.1/ref/settings/#installed-apps before

INSTALLED_APPS = [
...
]

to tell user the order is important.

Change History (2)

comment:2 by Tim Graham, 6 years ago

Resolution: wontfix
Status: assignedclosed

There was a rather lengthy effort in 2013 to simplify the project template's settings.py that resulted in 3f1c7b70537330435e2ec2fca9550f7b7fa4372e. In light of that, I don't think there will be much consensus to begin adding more documentation back to settings.py.

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