Re:Flask vs. Django: Worksheet to choose the right framework
by IndianAstronaut on Thursday April 23, 2015 @05:07PM
(#9429823)
How do you manage with just one primary key column allowed by the ORM?
Re:Flask vs. Django: Worksheet to choose the right framework
by andybak on Thursday April 23, 2015 @05:44PM
(#9430074)
Some people argue that composite primary keys are an anti-pattern. They might be relationally pure but they make other things a lot harder.
I have a hunch that uuid's or other non-semantic primary keys are a good example of of 'practicality beats purity'.
The main reason why I use django is because o the ORM and the admin. If I were to do a project in Flask, I'd have to build mt own admin, and i'd have to use SQLAlchemy. I had to use SQLAlchemy once for a project and I hated it.The django ORM is much more straigh forward an easier to use, in my opinion. In my 10 years of using django ORM, I have had to "break out of the ORM" maybe once.