Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: 5eb81ce44532596ecc1c781d93f3421a467a6206
      
https://github.com/django/django/commit/5eb81ce44532596ecc1c781d93f3421a467a6206
  Author: Julen Ruiz Aizpuru <jul...@gmail.com>
  Date:   2014-05-13 (Tue, 13 May 2014)

  Changed paths:
    M django/forms/fields.py
    M django/forms/forms.py
    M docs/ref/forms/api.txt
    M docs/ref/forms/fields.txt
    M docs/releases/1.8.txt
    M tests/forms_tests/tests/test_forms.py

  Log Message:
  -----------
  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.


-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/53721a5830008_371ba7d405584d%40hookshot-fe2-cp1-prd.iad.github.net.mail.
For more options, visit https://groups.google.com/d/optout.

Reply via email to