I would also go with NestJS. I would say Java is unnecessarily complicated and limited. And Python is not typed. TypeScript is powerful and typed and goes well with NestJS, especially using RxJS.
Django does not enforce backend-frontend separation, which probably was a good thing back in the days, but not anymore. But on the other hand enforces the project structure to you, which I don't like.
5 upvotes·1 comment·248.5K views
The work around would be to use Django Rest Framework, but even then, I don't think Python is the best tool for web sockets/real-time stuff.