I know this is an armature question but here goes.
I have a url path as follows:
path('projects/<s>', PL.projects),
And I pass a string from the html template by putting it into an href tag like so projects/some_string
. this works once but then the base url changes to <ip>/projects/some_string
. so when I try to excite the path to pass a string in that domain then I get an error as the url is now <ip>/projects/projects/some_string
.
How do I set it up so that I can pass as many strings as possible as many times as possible without having to clean my url in the browser everytime.