3 ms·
> You literally have a redirect() in next.js routing you to another URL I was not accurate enough. In Django you can just pass your database entity to redirect
by pjerem 3y ago
> You literally have a redirect() in next.js routing you to another URL
I was not accurate enough. In Django you can just pass your database entity to redirect(). Since you can define directly in the models how to resolve their "Read" (as in cRud), you don’t need to build the URL each time you want to redirect.
As for the forms framework, I never implied that you can’t do this with others frameworks. As I said, I didn’t touch Django for a decade and I did mostly Typescript development for the last 6 years so I pretty much know that you can build an app with it and that there are a lot of good libs for this.
My point is not that you can’t do everything with it and that you can do more with Django, I’d even say it’s the contrary. However, if what you want to build is a classic website without a lot of real-time interaction, Django allows you to build it with way way less lines of code (and I’m not even talking about that entire cool admin you get for totally free).