#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 Mariusz Felisiak):
Replying to [comment:7 k4ml]:
> Btw the fix is simple actually, add:-
>
>
> del _
>
> at the end of settings.py. The localization docs should add this in
notes.
It's not an issue in Django or its docs. It's an issue in
`pytest_djangoapp`. `_` is not a setting name and should not be passed to
the `.configure()`.
--
Ticket URL: <https://code.djangoproject.com/ticket/30234#comment:8>
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.c75b896a20d4f52e655d1001678b2515%40djangoproject.com.