diff options
| author | Julen Ruiz Aizpuru <julenx@gmail.com> | 2014-04-29 10:07:57 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-05-13 09:09:33 -0400 |
| commit | 5eb81ce44532596ecc1c781d93f3421a467a6206 (patch) | |
| tree | 82eea7c4de4c46f62e46220aec97c59572931cf2 /tests/admin_scripts/complex_app/admin/foo.py | |
| parent | f2a8e47cfd75f6135634a833f0a6a621909b4c3a (diff) | |
Fixed #22533 -- Added label_suffix parameter to form fields.
Fields can now receive the `label_suffix` attribute, which will override
a form's `label_suffix`.
This enhances the possibility to customize form's `label_suffix`, allowing
to use such customizations while using shortcuts such as
`{{ form.as_p }}`.
Note that the field's own customization can be overridden at runtime by
using the `label_prefix` parameter to `BoundField.label_tag()`.
Refs #18134.
Diffstat (limited to 'tests/admin_scripts/complex_app/admin/foo.py')
0 files changed, 0 insertions, 0 deletions
