Hacker News new | ask | show | jobs
by aeonflux 1645 days ago
I've worked with both Rails and Django extensively, finally I phased out Django few years ago. Can't really compare those anymore, since too much time has passed. Whats better about ORM and Migration? What so good about Django Rest Framework compared to rails-api?
1 comments

I find the ORM API in django to be very clean, especially when combined with custom querysets. It also has great postgres support (https://docs.djangoproject.com/en/4.0/ref/contrib/postgres/).

The migration framework just works, I can't really compare it to rails because I haven't used rails in a long time.

DRF seems much more fully featured than rails-api, it comes with a browsable API and OpenAPI integration.

You love Django, I get it. You wrote it its better than Rails in various aspects without actually having a clue about Rails. Thats neither professional nor informative.
I replied to "What does Django offer that you feel is an improvement over Rails?", the pluses and minuses that I listed are what I "feel" Django has over rails.

Again I don't mean to trash on Rails, it's a great framework and miles ahead of anything you'd find in the nodejs ecosystem.