I am trying to create dependent dropdowns following this link: http://www.devinterface.com/blog/en/2011/02/how-to-implement-two-dropdowns-dependent-on-each-other-using-django-and-jquery/
But I have this form:
class FrequencyForm(CityForm)
def __init__(self, *args, **kwargs):
super(FrequencyForm, self).__init__(*args, **kwargs)
self.frequency_list = [('-1','None')]
self.fields['term'] = forms.ChoiceField(choices=self.frequency_list, required=True, widget=forms.RadioSelect())
I don't want the default value to appear when the list populates. What should I do?