Answer the question
In order to leave comments, you need to log in
How to get url path consisting of multiple subdirectories?
There is a typical situation:
path('summary/<str:url>/', any_view, name='any_url')
<str:url>
give this very line 'root / root'?
Answer the question
In order to leave comments, you need to log in
In general, he asked - he answered.
Instead of str in such cases, you need to specify path
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question