Twisted integration of WTForms