I'm using a dynamic part in the URL in my Django project, as <str:item_code>, some times the str contains a slash / which causes an error not found.
here is how my URL pattern looks like :
path('find/the/item/<str:item_description>/', views.find_the_item, name="find_the_item"),
is there anyway to force the url to ignore all slashes inside this <str:item_description> part ?