[Django] #29765: Mention MIDDLEWARE/INSTALLED_APPS order is important in settings.py

3 views
Skip to first unread message

Django

unread,
Sep 18, 2018, 1:05:55 AM9/18/18
to django-...@googlegroups.com
#29765: Mention MIDDLEWARE/INSTALLED_APPS order is important in settings.py
-------------------------------------+-------------------------------------
Reporter: Windson | Owner: Windson yang
yang |
Type: | Status: assigned
Cleanup/optimization |
Component: | Version: master
Documentation |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
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.

--
Ticket URL: <https://code.djangoproject.com/ticket/29765>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 18, 2018, 1:45:59 AM9/18/18
to django-...@googlegroups.com
#29765: Mention MIDDLEWARE/INSTALLED_APPS order is important in settings.py
-------------------------------------+-------------------------------------
Reporter: Windson yang | Owner: Windson
Type: | yang
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Windson yang):

* has_patch: 0 => 1


Comment:

https://github.com/django/django/pull/10400

--
Ticket URL: <https://code.djangoproject.com/ticket/29765#comment:1>

Django

unread,
Sep 18, 2018, 9:48:50 AM9/18/18
to django-...@googlegroups.com
#29765: Mention MIDDLEWARE/INSTALLED_APPS order is important in settings.py
-------------------------------------+-------------------------------------
Reporter: Windson yang | Owner: Windson
Type: | yang
Cleanup/optimization | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* status: assigned => closed
* resolution: => wontfix


Comment:

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`.

--
Ticket URL: <https://code.djangoproject.com/ticket/29765#comment:2>

Reply all
Reply to author
Forward
0 new messages