3 ms·
When have you been using Django compared to Flask? I'm curious, since I often use Flask + vue, but haven't used Django much.
by closed 8y ago
When have you been using Django compared to Flask? I'm curious, since I often use Flask + vue, but haven't used Django much.
- jaabe 8y agoWhen we know the project is going to see a lot of end-users that'll need their own "profile" styled page and/or if we know we'll see a lot of database changes over time. Which hasn't been a lot of times yet, if I'm being honest. One example that I can share, that would have also been a good Django candidate is our system for handling employee absence. When it launched it only let you report the two types of paid vacation we have, but being the public sector of Denmark, we actually have around 80 different types of legal absence, with various rules attached, and we knew we'd want to add more over time. We also knew every employee would need their own profile to keep track of their accounts, and we knew some managers would want to outsource the responsibility to secretaries and such. So that's what would be an obvious Django project to us, but it was build in .NET because that's what we were most comfortable with at the time.
- closed 8y agoThanks for your response--it's helpful to hear! I've mostly been using flask for simple APIs / dashboards, but have wondered lately whether a more "batteries included" approach like Django could be helpful once a db / more logic is added..
- douglaswlance 8y agoDjango is great for "batteries-included" development. It has a lot of extra stuff included in the framework that you might not need for a smaller app, but if you don't care about that extra overhead (or you need to use it) then Django is a great choice. It also has a fantastic ecosystem of "apps" (what Django calls plugins or packages) that you can drop into your project which can save a substantial amount of time; which makes it great for consulting work.