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 drop-down box with
"Alabama" pre-selected.
Is there any way to make the drop-down box to show no pre-selected
value at all?
--
You received this message because you are subscribed to the Google Groups
"Django users" 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-users?hl=en.