6 comments

1

I haven't use Python for more than a few shell programs since 2011. I was using Django to build websites. Is Flask the most popular Python web framework now?

1

Not really, I would say they are roughly equally popular, but Flask is simpler than Django - less modules and things included out of the box. It designed more for simpler apps. Flask doesn't have its own ORM layer, for example... In these tuts they use SQLAlchemy, but you could also use MongoDB or even SQLLite. There's more structure and convention already in place with Django - more things happening by themselves in the background to make things work.

Pyramid is another popular Python web framework these days, but I've never used it.

1

Thanks. That's a good summary.

2

flask is much more customisable than Django, would recommend using it

1

That was the main thing that pushed me away from Django, although it wasn't terrible in that regard.