diff options
| author | avas9366 <avassallo06@gmail.com> | 2019-03-05 11:25:27 +1100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-03-04 19:25:27 -0500 |
| commit | 9681e968ebdcd58cac99c1e60f0a6932abd4e5c9 (patch) | |
| tree | 946f6a9f1b9501fa64ad9aeb98c2c40134ae3443 /django | |
| parent | 17455e924e243e7a55e8a38f45966d8cbb27c273 (diff) | |
Fixed #30232 -- Corrected expected format in invalid DurationField error message.
Diffstat (limited to 'django')
| -rw-r--r-- | django/db/models/fields/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py index f32ce64629..71005490f3 100644 --- a/django/db/models/fields/__init__.py +++ b/django/db/models/fields/__init__.py @@ -1587,7 +1587,7 @@ class DurationField(Field): empty_strings_allowed = False default_error_messages = { 'invalid': _("'%(value)s' value has an invalid format. It must be in " - "[DD] [HH:[MM:]]ss[.uuuuuu] format.") + "[DD] [[HH:]MM:]ss[.uuuuuu] format.") } description = _("Duration") |
