#5993: [patch] newforms: define renderer for RadioSelect widget at the class 
level
--------------------------------------------+-------------------------------
Reporter:  Max Derkachev <[EMAIL PROTECTED]>  |       Owner:  nobody         
  Status:  new                              |   Component:  django.newforms
 Version:  SVN                              |    Keywords:                 
   Stage:  Unreviewed                       |   Has_patch:  1              
--------------------------------------------+-------------------------------
 Currently the only standard way to customize radio field display is to
 pass custom renderer to the RadioSelect constructor.
 The patch allows to define renderer for RadioSelect widget at the class
 level to allow redefine it in a subclass. E.g

 {{{
 class MyRadioFieldRenderer(RadioFieldRenderer):
     ..................

 class MyRadioSelect(RadioSelect):
     renderer = MyRadioFieldRenderer

 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5993>
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