Answer the question
In order to leave comments, you need to log in
How to route to React's url in Django?
Django + React question .
I did build React, then threw it static / html into Django - everything works fine.
url - /
But the problem is that if you immediately go to a certain address, say - /login , it will give an error that there is simply no such page.
Although there is to go to /, and then click on the appropriate button - everything will be fine.
Should I log url data? All html is in one file and rendering the same thing is hardly a good solution.
Tell me, is it React or Django? And how to fix this problem?
Thank you in advance.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question