Django error where even though i allowed an attribute in url it isn't working
path('', views.index, name='index')
above code works when url: ...8000/app
path('<str:name>', views.index, name='index')
but this doesn't work when url: ...8000/app/kenny gives page not found error
does anyone why it is working with no attributes but not with attributes. Same for other paths also.
I got it you have to put "/" before the first attribute of path()