Hi,
Not 100% sure, but I think that the 'p' should be a "P" (capital). I've always used the capital version, since it's was is shown in the docs and examples, so I can't say if lowercase 'p' works too. Eric ________________________________ From: [email protected] <[email protected]> on behalf of shiva kumar <[email protected]> Sent: Sunday, September 23, 2018 9:01:18 PM To: [email protected] Subject: error at re_path getting error saying page not found when using re_path for defining our own url pattern. re_path(r'^home/(?p<name>[0-9]{4})/$',views.home1), this was how i used the function and it showing error at ?p. is there any mistake suggest a solution. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To post to this group, send email to [email protected]<mailto:[email protected]>. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMsYeuHzbhA0Pu5gm7t0G4kuMENKf-CNPWQURHSLajGfhDskBg%40mail.gmail.com<https://groups.google.com/d/msgid/django-users/CAMsYeuHzbhA0Pu5gm7t0G4kuMENKf-CNPWQURHSLajGfhDskBg%40mail.gmail.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/AM6P193MB0421AEB1A8D5E522A682CBC58C170%40AM6P193MB0421.EURP193.PROD.OUTLOOK.COM. For more options, visit https://groups.google.com/d/optout.

