summaryrefslogtreecommitdiff
path: root/docs/ref/forms
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/forms')
-rw-r--r--docs/ref/forms/fields.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index 7c28c0e7e1..6c24c3534e 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -566,8 +566,9 @@ For each field, we describe the default widget used if you don't specify
* Empty value: ``None``
* Normalizes to: A Python :class:`~python:datetime.timedelta`.
* Validates that the given value is a string which can be converted into a
- ``timedelta``.
- * Error message keys: ``required``, ``invalid``.
+ ``timedelta``. The value must be between :attr:`datetime.timedelta.min`
+ and :attr:`datetime.timedelta.max`.
+ * Error message keys: ``required``, ``invalid``, ``overflow``.
Accepts any format understood by
:func:`~django.utils.dateparse.parse_duration`.