Getting Desperate please Help w/ DJANGO Pathways

I am somewhat close to deploying my portfolio page.
Here is my issue
“This problem refers to the fact that portfolio/urls.py defines ‘admin/’ and ‘projects/,’ but doesn’t handle the case where one goes to just xyz.onrender.com, so onrender./projects acts as expected(sort of), but the root path does not”

if you look at my repo, you will see my latest attempt (not good ) at solving this anyone who can help I would deeply appreciate it.

I need a little help with the correct pathways.

Hello greenking.

I have not done much with django, but I have found it useful in the past to be explicit about your home path. I.e:

path('index/', views.all_projects, name='all_projects')

Hope this helps.

1 Like