I have a django app. In the app I have a url that looks like:-
path('url/', views.appmain, name="main")
The problem is that the trailing slash is required. I want to make the slash optional and the url accessible both with or without the slash.I checked APPEND_SLASH
but it doesn't work. What's the solution for it.