From ca387ce37f16a1ddc429f892522b9cb3c85daffa Mon Sep 17 00:00:00 2001 From: sevdog Date: Fri, 8 Aug 2025 11:59:14 +0200 Subject: [PATCH] Adjust typo in duration field docs --- docs/api-guide/settings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/settings.md b/docs/api-guide/settings.md index 66e1131c9..2a070b77e 100644 --- a/docs/api-guide/settings.md +++ b/docs/api-guide/settings.md @@ -317,7 +317,7 @@ Default: `['iso-8601']` #### DURATION_FORMAT -Indicates the default format thath should be used for rendering the output of `DurationField` serializer fields. If `None`, then `DurationField` serializer fields will return Python `timedelta` objects, and the duration encoding will be determined by the renderer. +Indicates the default format that should be used for rendering the output of `DurationField` serializer fields. If `None`, then `DurationField` serializer fields will return Python `timedelta` objects, and the duration encoding will be determined by the renderer. May be any of `None`, `'iso-8601'` or `'django'` (the format accepted by `django.utils.dateparse.parse_duration`).