Ditch Flask and switch to Clastic.
Support template filters, autobind routes.