#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):
Replying to [comment:6 Mariusz Felisiak]:
> This ticket has nothing to do with using `_` in `settings.py`, it's
about non-uppercase setting names.
`_` failed `isupper()` check.
Btw the fix is simple actually, add:-
```
del _
```
at the end of settings.py. The localization docs should add this in notes.
--
Ticket URL: <https://code.djangoproject.com/ticket/30234#comment:7>
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.81440667f232784c66b81fd29ab1a5c1%40djangoproject.com.