Fixed #27271 -- Fixed a crash in runserver logging.

Allowed ServerFormatter to handle simple string messages or messages with
formatting arguments. The formatter will set the server_time variable on
the log record if it's required by the format string but wasn't passed in
extra parameters.
This commit is contained in:
Sergey Fursov 2016-09-26 01:25:38 +03:00 committed by Tim Graham
parent b29c6c96c7
commit 6709ea4ae9
4 changed files with 68 additions and 13 deletions

View file

@ -22,3 +22,6 @@ Bugfixes
``SplitDateTimeWidget``, ``SelectDateWidget``, and ``SplitArrayWidget``
(:ticket:`27186`). Custom widgets affected by this issue may need to
implement a :meth:`~django.forms.Widget.value_omitted_from_data` method.
* Fixed a crash in ``runserver`` logging during a "Broken pipe" error
(:ticket:`27271`).