My url is in the format of
/en/33/details
But the number 33 is dynamic and I have to check if the url has /en/ part and /details part and some number in between.
I tried checking through
if url == r'^/en/(?d[0-9]+)/details':
But i checked through the django url regex syntax but it doesn't work. May I know where I am going wrong