django-users@googlegroups.com on behalf
of shiva kumar
Sent: Sunday, September 23, 2018 9:01:18 PM
To: django-users@googlegroups.com
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[0-9]{4})/$'
getting error saying page not found when using re_path for defining our own
url pattern.
re_path(r'^home/(?p[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
2 matches
Mail list logo