what is the easiest way to set a default choice for a django select widget?

Posted by mikec on Stack Overflow See other posts from Stack Overflow or by mikec
Published on 2009-10-13T18:15:57Z Indexed on 2010/04/09 17:03 UTC
Read the original article Hit count: 330

Filed under:
|

I have a model that has a foreign key relation to another. I'd like to have the dropdown that is produced by widget=forms.Select have a default value

© Stack Overflow or respective owner

Related posts about django-forms

Related posts about django