Hacker News new | past | comments | ask | show | jobs | submit login

> The motivation for writing this article comes from knowledge sharing with the team I'm currently collaborating with, who are using Django the canonical way. I am convinced they can better use the tools they have. Let's see if they can be persuaded to drop Django migrations...

I've built and worked on enough large Django projects to know that if you don't do Django the canonical way, then I don't want any part of the project. If I joined a team and saw this weird hodge-podge of custom migration framework and shadowing ORM fields I would nope-out immediately. It sounds like this post author just doesn't want to use Django's ORM. And that's fine, you don't have to.




There's nothing worse than random teams reimplementing a migrations system because they think they know better.

The Django migrations system is far from perfect, but it's light years ahead of anything a small team can build.


> random teams reimplementing a migrations system

I think that can apply to most software. Django has plenty of things that could be done better, but if it's part of Django it will be well tested and documented, there will be people who can help on Stack Overflow, which is far better than most of the in house stuff I have had to work with.


I don't think these practices scale well. One person becomes the default "migration person" (with processes that are likely not as well documented as Django) and the team becomes reliant on tribal knowledge.


How is that different from one person becoming the default "migration person" on a team that doesn't use Django?


The difference is that Stack Overflow has a ton of answers to even fairly complicated questions and that reading the Django docs is an order of magnitude easier than delving into some random person's badly written code.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: