3 ms·
Happy to see Flask 2.0+ ship. I upgraded a pretty big Flask app (7,500 lines of Python code without counting test lines) that uses lots of Flask extensions, et
by nickjj 5y ago
Happy to see Flask 2.0+ ship.
I upgraded a pretty big Flask app (7,500 lines of Python code without counting test lines) that uses lots of Flask extensions, etc. and the upgrade process to Flask 2.0 was the easiest upgrade ever. Everything worked without a single line of app code that needed to change. Then I went in and started using some of the new 2.0 features.
There were a few deprecation warnings in a couple popular extensions but those will go away soon (I opened PRs in Flask-Login, Flask-WTF and Flask-DebugToolbar to fix them).
If anyone is curious I updated my example Flask + Docker + gunicorn + Celery + Redis + PostgreSQL + Webpack + TailwindCSS starter project to support Flask 2.0 here: https://github.com/nickjj/docker-flask-example https://github.com/nickjj/docker-flask-example
And I'll be updating my Build a SAAS App with Flask course for Flask 2.0 today at: https://buildasaasappwithflask.com/ https://buildasaasappwithflask.com/. About to record some videos for it now.
- mixmastamyk 5y agoHow are the login/security extensions doing? Last I checked some had been abandoned, which caused me some concern and thinking I maybe should have used django or pyramid.
- nickjj 5y agoThey are really good. Flask-Login works wonderfully for logging in and managing sessions and there's ItsDangerous (maintained by Pallets) for generating secure tokens if needed.