#6877: "form.label_for tag" should apply "label_suffix"
---------------------------------------------------------------+------------
          Reporter:  David Piccione <run4yourli...@gmail.com>  |         Owner: 
 nobody                 
            Status:  new                                       |     Milestone: 
                        
         Component:  Forms                                     |       Version: 
 SVN                    
        Resolution:                                            |      Keywords: 
 label_tag, label_suffix
             Stage:  Design decision needed                    |     Has_patch: 
 1                      
        Needs_docs:  1                                         |   Needs_tests: 
 1                      
Needs_better_patch:  0                                         |  
---------------------------------------------------------------+------------
Changes (by lrekucki):

  * needs_docs:  0 => 1
  * has_patch:  0 => 1
  * needs_tests:  0 => 1
  * stage:  Accepted => Design decision needed

Comment:

 First of all, I'm not entirely sure it's a bug. Current documentation
 contains examples which explicitly show that {{{label_tag}}} won't contain
 any suffix (i.e. http://docs.djangoproject.com/en/dev/topics/forms
 /#looping-over-the-form-s-fields).

 Assuming this is a bug, the change will be backwards incompatible with
 current behavior, so documentation changes should be included (it will
 also mean that everyone will need to update their code to reflect this
 change, which is an argument against this). Usually, the patch should also
 include a regression test.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/6877#comment:5>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to