from django.forms import widgets from django.forms.renderers import get_default_renderer class LinkedSelectWidget(widgets.RadioSelect): def __init__(self,attrs=None,*args,**kwargs): super(LinkedSelectWidget,self).__init__(attrs,*args,**kwargs) template_name = "routine_manager/linkedSelectField_widget.html"