pallets-eco/flask-wtf
View on GitHub ↗ ★ 1,510 Python
Simple integration of Flask and WTForms, including CSRF, file upload and Recaptcha integration.
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2015-04-16 · latest 2017-02-15
20082026
-
…much more complicated than it could be . For instance, it redefined CSRF protection in a weird way https://github.com/lepture/flask-wtf/blob/master/flask_wtf/c...
comment by homakov · 2017-02-15 · in SecureDrop – An open-source whistleblower submission system -
…does it like this. Much better. Flask promotes touching the 'request' object everywhere. Example: https://github.com/lepture/flask-wtf/blob/master/flask_wtf/f... . Flask is not functional, its inherently statefull with globals. MIDDLEWARE:…
comment by TeeWEE · 2016-02-18 · in Building Large Flask Apps in the Real World -
…I find the homepage http://packages.python.org/Flask-WTF/ , which in turn gets me to the code https://github.com/lepture/flask-wtf . I haven't updated the code to Python 3, but let's assume for a second that I have: now what? How do I tie…
comment by kerkeslager · 2015-04-16 · in Python 2, Python 3, Debian and Porting