#27376: Why Django 1.10.x not use plural format in settings.py
--------------------------------------+------------------------
Reporter: twz915 | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Uncategorized | Version: 1.10
Severity: Normal | Keywords: MIDDLEWARE
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------
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)?
--
Ticket URL: <https://code.djangoproject.com/ticket/27376>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/049.bc7254dc57f83eb5b08c87898a112c57%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.