/articles/2003 would not match any of these patterns, because each
pattern requires that the URL end with a slash.
But in django 3.2.4, this seems wrong:
[21/Jun/2021 15:12:09] "GET /articles/2003 HTTP/1.1" 301 0
[21/Jun/2021 15:12:09] "GET /articles/2003/ HTTP/1.1" 200 765
There's a redirect to the correct URL.
So, is documentation wrong ?
Thanks in advance.
--
Ticket URL: <https://code.djangoproject.com/ticket/32871>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => invalid
Comment:
The URL **doesn't** match, but
[https://docs.djangoproject.com/en/3.2/ref/settings/#append-slash
APPEND_SLASH] is enabled by default, so the redirect to the URL that does
match is issued.
--
Ticket URL: <https://code.djangoproject.com/ticket/32871#comment:1>