Hello. I have looked through some of the existing forum topics (see below) but am still having trouble getting my django/react webapp to function. The "/api" route correctly takes me to to my api page, but none of the other routes seem to work (at the moment there is only the root route, /factors, and /chart). When I try going to "/", "/factors", or "/chart", I get an error message saying "Page Not Found" and the following:
Using the URLconf defined in factorsViewer.urls, Django tried these URL patterns, in this order: admin/ api/ The empty path didn’t match any of these.
But the paths "/", "/factors", and "/chart" are only defined in the react "client/src/components/App.js" file so I'm not sure how to tell pythonanywhere.com to look there. I've taken a look at the "static file mappings" page but am unsure if this means to take the entire "client" folder and put it in there. Any suggestions would be appreciated.
https://elledee.pythonanywhere.com/
https://www.pythonanywhere.com/forums/topic/28553/ https://www.pythonanywhere.com/forums/topic/28919/ https://www.pythonanywhere.com/forums/topic/12052/