Hi, what you're trying to do is called server side rendering. Django does this out of the box with it's templating language , however since you want to use an SPA (React) I suggest you look into Nextjs. It's built like this out of the box.
-- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bb640851-d9e3-4848-8541-69e3d7a84370%40googlegroups.com.