[Answered ]-Django re_path() function pattern wouldnt match a url that contains the pattern

1👍

The pattern patternA/$ only matches URLs that end exactly with patternA/. To match any URL that ends with patternA/ you need to use the pattern .*patternA/$

Leave a comment