Reputation: 107
I have
django_comments
settings.py
SITE_ID = 1
url(r'^comments/', include('django_comments.urls'))
in urls.py
{% load comments %}
in home.html
But I still can't see any comments loading in my home page. What am I missing?
Upvotes: 0
Views: 94
Reputation: 27112
{% load comments %}
doesn't actually show comments...it just loads them. You need to use {% render_comment_list for [object] %}
to actually show them (replacing [object]
with your model name.)
Read more in the section on displaying comments in the docs.
Upvotes: 1