Sunday, January 19, 2020

Re: Django blog post not linking to detail.html page

Hello,
File: template/blog/post/list.html, line 7
It doesn't sounds good at least for me.
The way I do is:
<a href="{% url "here_goes_entry_urls.py_for_detail" post.id %}">post.title<a/>



---
Gerardo Palazuelos
Enviado desde mi iPhone


El 19 ene 2020, a la(s) 9:25, amanda <amandamoon2000@gmail.com> escribió:


Hello,
I am new to Django, i follow a book : Django by Example 2. i install a blog, it show blog post list, but when i click post title, it does not go to post detail.html page.
anyone can tell me where i can wrong?
Thank you very much!



--
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 django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2fb56c3c-6eb6-46c9-9162-548a65b3c781%40googlegroups.com.
<1.JPG>
<2.JPG>
<3.JPG>
<4.JPG>
<5.JPG>
<6.JPG>
<7.jpg>

No comments:

Post a Comment