Hi all,
I have a basic form
class AssumptionsForm(forms.Form):
writedownoper = forms.ChoiceField( required=True, choices =
[('1','1'),('2',2='),('3','3')])
Now in my view after I create the form I want to set value 2 as
default. How can I do it? Is there set default API that I can use.
Thanks in advance
Sumanth
--
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.