Opened 8 years ago
Last modified 8 years ago
#27376 closed Cleanup/optimization
Why Django 1.10.x not use plural format in settings.py — at Initial Version
Reported by: | WeizhongTu | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | 1.10 |
Severity: | Normal | Keywords: | MIDDLEWARE |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I know that we can implement a middleware using functions and classes in Django 1.10.x, so the related setting was renamed from "MIDDLEWARE_CLASSES" to "MIDDLEWARE".
In settings.py ALLOWED_HOSTS, INSTALLED_APPS,TEMPLATES,DATABASES are plural formats.
My question is Why NOT use "MIDDLEWARES" (plural format)?
Note:
See TracTickets
for help on using tickets.