News for hackers. Stuff that matters.
Re:Django 6 Released by pmontra on Friday December 05, 2025 @01:55AM (#46157536)
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.
Re:Django 6 Released by grim_io on Friday December 05, 2025 @03:11AM (#46157941)
I never had that experience.

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

Re:Django 6 Released by elzbardico on Friday December 05, 2025 @05:07PM (#46168023)
Should not be using inheritance with persistent entities anyway. OOP is not about creating taxonomies.