1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/forms_tests
Julen Ruiz Aizpuru 5eb81ce445 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.
2014-05-13 09:09:33 -04:00
..
templates/forms_tests
tests Fixed #22533 -- Added label_suffix parameter to form fields. 2014-05-13 09:09:33 -04:00
__init__.py
models.py PEP8 cleanup 2013-11-02 23:50:49 -05:00
urls.py Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests. 2014-04-16 20:36:29 -04:00
views.py