Django by Example blog Tutorial
This is my first time posting in the Django user group. I've been following the following lightbird Django by Example tutorials. I've hit a snag while following the blog tutorial (http://lightbird.net/dbe/blog.html). The thing is my comment link [code]
<div class="commentlink"><a href="{% url blog.views.post post.pk %}">Comments</a></div>[/code]
is not linking to the individual post. I checked my views.py and urls.py against the tutorial source code packet and it matches, but upon clicking it just displays the front page again. When you look at the url however you can see the posts primary key in the adress, but all posts are displayed.
I'm ready to provide any information as needed. Thank you in advance for your help.
In short, my blog isn't linking to individual posts.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/OyE9I2FNd2sJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home