summaryrefslogtreecommitdiff
path: root/docs/ref/forms
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/forms')
-rw-r--r--docs/ref/forms/widgets.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt
index 219a6b7f23..9cc474aae6 100644
--- a/docs/ref/forms/widgets.txt
+++ b/docs/ref/forms/widgets.txt
@@ -236,7 +236,7 @@ foundation for custom widgets.
isn't guaranteed to be valid input, therefore subclass implementations
should program defensively.
- .. method:: get_context(name, value, attrs=None)
+ .. method:: get_context(name, value, attrs)
.. versionadded:: 1.11
@@ -377,7 +377,7 @@ foundation for custom widgets.
It provides some custom context:
- .. method:: get_context(name, value, attrs=None)
+ .. method:: get_context(name, value, attrs)
In addition to the ``'widget'`` key described in
:meth:`Widget.get_context`, ``MultiValueWidget`` adds a