3 ms·
Django is great for building Django apps. That is, if you're starting a greenfield project and don't have to integration with an existing database schema, and y
by kstrauser 9y ago
Django is great for building Django apps. That is, if you're starting a greenfield project and don't have to integration with an existing database schema, and you like the Django ORM, and you like Django templates, and your data model maps cleanly onto a relational DB, and you can use the admin site more or less as-is without having to customize much, then it's lovely! I'm not being sarcastic: it really is. We've successfully rolled out several CRUD apps so that our internal employees can tweak settings and update stuff without waiting for engineering to get around to it.
That said, I'd rather gnaw off my own ankle than develop a production, customer-facing website that breaks any of the preconditions I listed above. Every time I've needed to deviate from the Django Way of doing things, it's felt like I'm swimming upstream against a rapids. For those kinds of projects, I love Flask very, very much.
- cabalamat 9y ago> Every time I've needed to deviate from the Django Way of doing things, it's felt like I'm swimming upstream against a rapids. I agree -- if you use Django, you have to do it the Django way. Flask is more flexible.
- JoshMnem 9y agoYou don't need Django's ORM, templates, and admin section to build a Django app. Check out this example of a single-file Django project: https://www.safaribooksonline.com/library/view/lightweight-django/9781491946275/ch01.html https://www.safaribooksonline.com/library/view/lightweight-d... It's from a good book called Lightweight Django.