mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[1.11.x] Removed self from method signatures in docs.
Backport of 757aefc12b from master
This commit is contained in:
committed by
Tim Graham
parent
8d5bccfe76
commit
d8039dfb0a
@@ -263,7 +263,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.
|
||||
|
||||
Reference in New Issue
Block a user