#31330: Trailing slash is missing in a "catchall" pattern in flatpages URLconf example. -------------------------------------+------------------------------------- Reporter: meesterguyman | Owner: Ninad | Kulkarni Type: Bug | Status: assigned Component: Documentation | Version: 3.0 Severity: Normal | Resolution: Keywords: append_slash, | Triage Stage: Accepted flatpage, catchall | Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by felixxm):
* component: contrib.flatpages => Documentation * stage: Unreviewed => Accepted Comment: meesterguyman, I understand that you're not using `contrib.flatpages.forms.FlatpageForm` because in such case trailing slash is required when `APPEND_SLASH` is True. I confirmed that when you allow for URLs without a trailing slash and want to use a “catchall” pattern then a trailing slash is required in: {{{ path('<path:url>/', views.flatpage) }}} It's a regression in df41b5a05d4e00e80e73afe629072e37873e767a. -- Ticket URL: <https://code.djangoproject.com/ticket/31330#comment:5> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/071.dde871d627be122dc5cc86984dd008af%40djangoproject.com.