Flask is preferred when your application structure is simple and small. Flask can manage things that way. But when the project structure increases. It becomes a troublesome task for flask. But when your app structure is very large then dividing the app into smaller parts is the best idea and Django does it really well for you.