Opened 10 years ago
Closed 10 years ago
#24504 closed Uncategorized (wontfix)
StandardError is not defined in django.utils.dictconfig
Description ¶
I'm on Python 3.4.1 with Django 1.7.4.
When using django.utils.dictconfig to configure custom logging and this function cannot configure a logging formatter than the code will "except" an SystemError which is not defined in this module or in builtin.
I fixed this temporarily to fix my logging config with this workaround:
from django.utils import dictconfig class StandardError(Exception): pass dictconfig.StandardError = StandardError
Change History (2)
comment:1 by , 10 years ago
Summary: | StandardError is not defined in → StandardError is not defined in django.utils.dictconfig |
---|
comment:2 by , 10 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
django.utils.dictconfig
is deprecated, please use Python'slogging.config
instead.