so I need
hi friends, I have a doubt yesterday I asked it:
I am sharing some small code, this code work only for render page,
my code is:
in app url py
path('page/<int:id>',views.page,name='page'),
and my views page code is
def page(request,id):
id1=str(id)
return render(request,'user/a'+id1+'.html')
first time my urls address calling from a template like this
project_name/page/3
and if I am calling the same url address from the html page link for go to next page
the url address now calling like this,
project_name/page/page/4
here no path for project_name/page/page/id
so I am getting error
why it's happening
can any one tell me please