mirror of
https://github.com/django/django.git
synced 2025-12-04 00:55:36 +00:00
Removed self from method signatures in docs.
This commit is contained in:
parent
875aebdb2c
commit
757aefc12b
5 changed files with 6 additions and 6 deletions
|
|
@ -258,7 +258,7 @@ foundation for custom widgets.
|
|||
``Widget`` subclasses can provide custom context values by overriding
|
||||
this method.
|
||||
|
||||
.. method:: id_for_label(self, id_)
|
||||
.. method:: id_for_label(id_)
|
||||
|
||||
Returns the HTML ID attribute of this widget for use by a ``<label>``,
|
||||
given the ID of the field. Returns ``None`` if an ID isn't available.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue