3 ms·
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 des
by pmontra 11mo 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.
- grim_io 11mo agoI never had that experience. Django does nothing special compared to the way I would design my db tables the completely manual way.
- elzbardico 11mo agoShould not be using inheritance with persistent entities anyway. OOP is not about creating taxonomies.