[3.0.x] Refs #10427 -- Corrected BoundField.css_classes() signature in docs.
Backport of 734fde771433b9ea525a2b0f4d8ebb3ae426b2fa from master
This commit is contained in:
parent
f425835cbe
commit
eeab4ab82e
@ -992,7 +992,7 @@ Methods of ``BoundField``
|
|||||||
``only_initial`` is used by Django internals and should not be set
|
``only_initial`` is used by Django internals and should not be set
|
||||||
explicitly.
|
explicitly.
|
||||||
|
|
||||||
.. method:: BoundField.css_classes()
|
.. method:: BoundField.css_classes(extra_classes=None)
|
||||||
|
|
||||||
When you use Django's rendering shortcuts, CSS classes are used to
|
When you use Django's rendering shortcuts, CSS classes are used to
|
||||||
indicate required form fields or fields that contain errors. If you're
|
indicate required form fields or fields that contain errors. If you're
|
||||||
|
Loading…
x
Reference in New Issue
Block a user