← Back to context

Comment by pmontra

5 days ago

Those Django models are a pain to work with if you have to access the database with any other tool that is not the original Django app. The only sane way to design a database managed by Django models and migrations is not using any inheritance between models or you'll end up with a number of tables, each one adding a few fields. Django ORM will join them for you but you are on your own if you ever have to write queries with some other tool.

I never had that experience.

Django does nothing special compared to the way I would design my db tables the completely manual way.

Should not be using inheritance with persistent entities anyway. OOP is not about creating taxonomies.