3 ms·
Django is a framework made of several components: - ORM: bizarre and can't generate lots of common SQL you will want to generate. Weird joins via counting u
by ltbarcly3 2y ago
Django is a framework made of several components:
- ORM: bizarre and can't generate lots of common SQL you will want to generate. Weird joins via counting underscores. Horrible errors that don't make sense. Lots of builtin functions have never worked and they won't fix them. (ROUND has never worked!)
- Template language: Slow and borderline unusable. are 50 pages of recursive nonsense tracebacks that doesn't tell you anything usable.
- Web app (controller) framework: Terrible and inflexible
Each of these components is a piece of shit. Don't use Django.
I suggest:
- ORM: Sqlalchemy: probably one of the best ORMs in any language, good performance and very flexible. It won't get in your way much.
- Templates: jinja2: basically identical to django templates but faster and usable tracebacks are perfect
- Web app: Flask or werkzeug, but there are lots of good options here. Django is the worst.
- andybak 2y agoAs someone that's inherited Flask projects that attempted to match Django levels of functionality, I couldn't disagree more.
- ltbarcly3 2y ago"Level of functionality" what does that mean? I've been at this a while: https://news.ycombinator.com/item?id=1490415 https://news.ycombinator.com/item?id=1490415
- andybak 2y ago> I've been at this a while I'm not sure how much it adds to the discussion but so have I. Although I've taken a step back from doing web dev directly in the last few years, I have been a Django dev since about 2006. But before we get into that kind of silly comparison let me put it another way. There are plenty of people more experience than both of us, that hold Django in high-regard. I know developers tend to hold strong opinions about their tools and that's all fine - but you are rather hyperbolic about several matters that seem to be closer to personal preferences than they are absolute truths.
- deleted 2y ago[deleted]