lukew3 / todarith

A website that hosts a large amount of math problems and will eventually be able to create problems using machine learning. Name comes from todo and arithmos meaning "all numbers". Uses flask framework
http://todarith.ml
Mozilla Public License 2.0
0 stars 0 forks source link

Validation error on form submit #14

Open lukew3 opened 4 years ago

lukew3 commented 4 years ago

ProblemForm gets an error when you submit a new problem. I think this is due to the submitform choices in the topic field getting added after the form was initialized in controller.py.

lukew3 commented 4 years ago

It would be nice if the form class constructor could take a list of choices as an argument