diff options
Diffstat (limited to 'django/utils/log.py')
| -rw-r--r-- | django/utils/log.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/django/utils/log.py b/django/utils/log.py index 717c15814c..3d3e8701c7 100644 --- a/django/utils/log.py +++ b/django/utils/log.py @@ -160,6 +160,8 @@ class RequireDebugTrue(logging.Filter): class ServerFormatter(logging.Formatter): + default_time_format = '%d/%b/%Y %H:%M:%S' + def __init__(self, *args, **kwargs): self.style = color_style() super().__init__(*args, **kwargs) |
