Thursday, December 11, 2014

Setting A WTForm Default Date To Today/Now

It's definitely a common mistake for people using WTForms. When you create a form and use something like as a default value, that value will always stay the same. The fix is to use "" instead of "".

No comments:

Post a Comment