Commit b132e7f
authored
[wtforms] fix SelectField.choices
`list` is invariant, so .choices can't be assigned to after initialisation. Doing so is suggested in the documentation:
https://wtforms.readthedocs.io/en/3.2.x/fields/#wtforms.fields.SelectField1 parent a9fbf47 commit b132e7f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments