#3111: newforms: Add as_tr(), as_li() methods to BoundField
------------------------+---------------------------------------------------
   Reporter:  brantley  |                Owner:  nobody                
     Status:  new       |            Component:  django.newforms       
    Version:            |           Resolution:                        
   Keywords:            |                Stage:  Design decision needed
  Has_patch:  0         |           Needs_docs:  0                     
Needs_tests:  0         |   Needs_better_patch:  0                     
------------------------+---------------------------------------------------
Comment (by ubernostrum):

 I'd personally be -1 on this; the use case presented is custom
 presentation, and default methods are never going to be able to handle the
 entire slippery slope of one-off custom cases people will want, so I'd say
 the solution is to just do the form presentation yourself in the template,
 or override a form-level method like `as_table` to omit the single field
 you want to present specially.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3111#comment:7>
Django Code <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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to