                  % force_unicode(w) for w in self]))
  
  class RadioSelect(Select):
  
      def __init__(self, *args, **kwargs):
          # Override the default renderer if we were passed one.
          renderer = kwargs.pop('renderer', None)
 
</s> remove         self.renderer = kwargs.pop('renderer', None)
        if not self.renderer:
            self.renderer = RadioFieldRenderer
 </s> add         # Override the default renderer if we were passed one.
        renderer = kwargs.pop('renderer', None)
        if renderer:
            self.renderer = renderer
    renderer = RadioFieldRenderer
                  % force_unicode(w) for w in self]))
  
  class RadioSelect(Select):
    renderer = RadioFieldRenderer
  
      def __init__(self, *args, **kwargs):
          # Override the default renderer if we were passed one.
          renderer = kwargs.pop('renderer', None)
keep keep add keep keep keep keep
 Fixed #5993 -- Made `RadioSelect` easier to subclass by giving it a default `renderer` as a class attribute.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6717 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/newforms/widgets.py