mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Refs #27919 -- Changed Widget.get_context() attrs kwarg to an arg.
This commit is contained in:
parent
6ff356e891
commit
075e93c16a
2 changed files with 11 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue