diff options
| author | David Smith <smithdc@gmail.com> | 2020-04-09 20:23:24 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-04-10 08:01:17 +0200 |
| commit | eeab4ab82e0422855a5c454a600730c538b256cd (patch) | |
| tree | 62ffe61d9a4eb09a9d39b7f920b43340639e6dca | |
| parent | f425835cbec603888ffb461ec0f54ef191ace849 (diff) | |
[3.0.x] Refs #10427 -- Corrected BoundField.css_classes() signature in docs.
Backport of 734fde771433b9ea525a2b0f4d8ebb3ae426b2fa from master
| -rw-r--r-- | docs/ref/forms/api.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
