I\'m using something like this:
field1 = forms.ModelChoiceField(queryset=...)
How can I make my form show the a value as selected?
The times they have changed:
The default initial value can now be set by defining initial like other form fields except you set it to the id instead.
initial
Now this will suffice:
form = YourForm(initial = {'field1': instance_of_mymodel })
Though both still work.