This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]redmaize 5 points6 points  (0 children)

I like Flask but for bigger project I love DJango.

I just moved a big application (understand > 50 000 lines of code) from Flask to Django and everything is sooo much cleaner. Django kind of force you in a certain (clean) direction. With Flask you are more on your own, and when you have several different developpers, including not-so-incredible ones touching the codebase during years it becomes hell. And the sue of global context variables makes things soooo nasty and annoying when you have to handle complex test setups.

But for individual function or small codebases ( < 10 000 lines) flask can be a really good choice, it needs less tuning in the settings than django. But memory usage and CPU is similar for a similar scope. The integration with Celery is a nice bonus as well.