Re: Is there any way to make USStateField() to not have a pre-selected value?

2009-12-02 Thread rebus_
2009/12/2 Continuation : > I use USStateField() from localflavor in one of my  models: > > class MyClass(models.Model): >   state  = USStateField(blank=True) > > Then I made a form from that class: > > class MyClassForm(forms.ModelForm): >    class Meta: >        model   =

Is there any way to make USStateField() to not have a pre-selected value?

2009-12-01 Thread Continuation
I use USStateField() from localflavor in one of my models: class MyClass(models.Model): state = USStateField(blank=True) Then I made a form from that class: class MyClassForm(forms.ModelForm): class Meta: model = MyClass When I display the form, the field "State" is a