Tag Archives: underscore

Django: _ (underscore) settings gotchas – Python Dev Feed

Django: _ (underscore) settings gotchas It so happened that after we add some localization setup in our app, running our tests error out with:- ackages/django/conf/__init__.py”, line 122, in configure INTERNALERROR> raise TypeError(‘Setting %r must be uppercase.’ % name) INTERNALERROR> TypeError: Setting ‘_’ must be uppercase. Enter fullscreen mode Exit fullscreen mode The settings in question…

Read More