2 ms·
I think we're mostly in agreement. Almost nobody needs Flask, and almost everyone should just use Django. Flask is only needed if your architecture is extremel
by bulatb 9y ago
I think we're mostly in agreement. Almost nobody needs Flask, and almost everyone should just use Django.
Flask is only needed if your architecture is extremely weird in a way that would have you fighting Django in the core of the app. If you can find a way to wrap the core in Django without letting Django's opinions inside, then still, it probably makes sense to just use Django.
I don't know how hard that is; I haven't done enough real work with Django. But when I tried to write an onion-style app with Flask + extensions, I found the ecosystem's architectural assumptions were still fighting me the way you hear Flask converts talk about their struggles with Django. Some of it was probably my fault, but still.
So if you have a problem Django doesn't want to solve, and that problem can be solved by Flask without extensions, maybe Flask makes sense. But almost certainly you don't.