[Answered ]-Dynamic URL Routing Django

0πŸ‘

βœ…

Just adding as an answer instead of comment:

If you are working with dynamic URL routing that has no prefix it matches all the URLs that can appear on the site. Django evaluates the patterns in order they are defined so the dynamic one should be after all the specific ones and then when checkout and cart are not matched the dynamic one will process it.

In your case place the dynamic route after cart and checkout routes.

πŸ‘€preator

1πŸ‘

Replace

Http404()

To

return Http404()

β€Œβ€Œβ€Œβ€Œβ€Œ

πŸ‘€M.J.GH.PY

Leave a comment