WTForms: How to select options in SelectMultipleField?

Choices can be set using form.myfield.choices=[("1","Choice1"), ("2","Choice2")]

What is the way to set the selected option?

15
задан lecodesportif 1 April 2011 в 22:57
поделиться