#30234: Disallow non-uppercase settings in settings.configure()
------------------------------+------------------------------------
Reporter: orlnub123 | Owner: nobody
Type: Bug | Status: closed
Component: Core (Other) | Version: dev
Severity: Normal | Resolution: fixed
Keywords: settings | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+------------------------------------
Comment (by k4ml):
The docs still showing example that using `_` in settings.py -
https://github.com/django/django/blob/7f33c1e22dbc34a7afae7967783725b10f1f13b1/docs/ref/settings.txt#L1951
And this check cause issue when third party app is calling
settings.configure():-
https://github.com/idlesign/pytest-
djangoapp/blob/master/pytest_djangoapp/plugin.py#L42
If this is no longer recommended practice, the docs above should be fixed
not to use `_` anymore in settings.py.
--
Ticket URL: <https://code.djangoproject.com/ticket/30234#comment:5>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.6d5568be9e9f4bf151e755acfdedb9bb%40djangoproject.com.