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.
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.