From eeab4ab82e0422855a5c454a600730c538b256cd Mon Sep 17 00:00:00 2001 From: David Smith Date: Thu, 9 Apr 2020 20:23:24 +0100 Subject: [PATCH] [3.0.x] Refs #10427 -- Corrected BoundField.css_classes() signature in docs. Backport of 734fde771433b9ea525a2b0f4d8ebb3ae426b2fa from master --- docs/ref/forms/api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt index 23fbab9aff..0c7614bba5 100644 --- a/docs/ref/forms/api.txt +++ b/docs/ref/forms/api.txt @@ -992,7 +992,7 @@ Methods of ``BoundField`` ``only_initial`` is used by Django internals and should not be set explicitly. -.. method:: BoundField.css_classes() +.. method:: BoundField.css_classes(extra_classes=None) When you use Django's rendering shortcuts, CSS classes are used to indicate required form fields or fields that contain errors. If you're