what issue are you facing. please send the error
On Sat, Aug 19, 2023 at 9:03 PM Dhiraj Kumar
wrote:
> Hi new in Django,
>
> I want to display details post to the template but facing issue while
> trying to fetch post by id on the click of Continue Reading
> ,
> Views.py
>
> def show(request, id
Hi new in Django,
I want to display details post to the template but facing issue while
trying to fetch post by id on the click of Continue Reading
,
Views.py
def show(request, id):
print(id)
try:
showPost = post.objects.get(id=id) # Assuming your model is named
'post'
except
2 matches
Mail list logo