Adjust typo in duration field docs

This commit is contained in:
sevdog 2025-08-08 11:59:14 +02:00
parent aae5465700
commit ca387ce37f
No known key found for this signature in database
GPG Key ID: D939AF7A93A9C178

View File

@ -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`).