Hi, On 27 October 2011 22:47, momo2k <tkew...@googlemail.com> wrote:
> Hello, > > I posted this question some time ago on django-users, but since nobody > answered and I think about this as a serious problem, I'll post here: > > Is there a reason why AdminMailHandler does not use > record.getMessage() as all other formatters do? (e.g. logging/ > __init__.py:436 Python 2.6). Correct me if I'm wrong, but most > developers use the args of the logging call for string formatting, > arent they? > > LOGGER.error('This is a %s message', some_var, exc_info=exc_info) > > In django this leads to unsubstituted admin mail messages. This should already be fixed in trunk: https://code.djangoproject.com/changeset/16715 Regards, Julien -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.