<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div><span>+1</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Tuesday, January 2, 2018 12:56 PM, Thomas Prebble <thomas.prebble@gmail.com> wrote:<br></font></div>  <br><br> <div class="y_msg_container"><div id="yiv1223864245"><div dir="ltr">Hello,<div><br></div><div>I would like to announce a new Flask extension I've been working on called Flask-Validates. I would be really interested in hearing any feedback people might have, regardless of whether it's positive.</div><div><br></div><div>Flask-Validates binds forms to views using view decorators. Forms can either be form classes (WTForms or Flask-WTF derived classes) or just fields supplied as keyword arguments. The extension then takes care of building a form class (in the case of kwargs) and exposes it as current_form (a la current_app). It also sets the HTTP 400 status code when form validation fails (something that I feel is important, although often neglected).</div><div><br></div><div>For those curious to see it in action please see the <a rel="nofollow" target="_blank" href="https://github.com/tjpnz/flask-validates">Github repo</a> and <a rel="nofollow" target="_blank" href="http://flask-validates.readthedocs.io/en/latest/">documentation</a>.</div><div><br></div><div>In terms of future development I'm considering adding support for augmentation of view docstrings so tools like Sphinx can output form parameters. I would definitely be receptive to other suggestions or pull requests from people who find the extension useful.</div><div><br></div><div>Thank you for your time.</div><div><br></div><div>Kind regards,</div><div>Thomas Prebble</div></div></div>_______________________________________________<br>Flask mailing list<br><a ymailto="mailto:Flask@python.org" href="mailto:Flask@python.org">Flask@python.org</a><br><a href="https://mail.python.org/mailman/listinfo/flask" target="_blank">https://mail.python.org/mailman/listinfo/flask</a><br><br><br></div>  </div> </div>  </div></div></body></html>