django does not provide an endpoint whether trailing slash or not.
It is solved with the options that django provides to handle the response whether or not it is trailing slash.
django will check the url, and if there is no match, and there is no trailing slash, it will be redirected with a trailing slash.
However, in the case of POST requests, django does not redirect properly. (respone 301 redirect)
So I am going to create a middleware for the trailing slash to solve the related problems while following the style guide.
django does not provide an endpoint whether trailing slash or not.
It is solved with the options that django provides to handle the response whether or not it is trailing slash. django will check the url, and if there is no match, and there is no trailing slash, it will be redirected with a trailing slash.
However, in the case of POST requests, django does not redirect properly. (respone 301 redirect)
So I am going to create a middleware for the trailing slash to solve the related problems while following the style guide.