-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disqus_identifier not being set #78
Comments
With this code it outputs only
|
It is being set in |
Found it. In case |
@int-ua Did you solve your problem? Solition/acclaration must be putted in documentation. |
Yes, it should, but I'm not sure how to phrase it better, I'd like someone else doing it. |
Let me see the documentation about it. @int-ua Can you put here the final code? And, can you sahre with me your user case? You are trying a list of post with number comments, aren you? Interesting. I used the next code: <div id="fb-root">
<!-- TODO: Review this with documentation -->
{% set_disqus_identifier self.slug %}
{% set_disqus_title self.title %}
{% set_disqus_url self.full_url %}
{% disqus_dev %}
{% disqus_show_comments %}
</div> Is the normal use, for this reason there aren't other notes about other alternatives about how use it. |
My final code:
And I still get all comments on one page but that's another issue. |
Update/Resolution: In case
{% with %}
is used{% disqus_show_comments %}
must be placed before the closing{% endwith %}
. Looks like it's worth a mention in the docs. Close it if you think otherwise.Older comment:
This line does nothing:
django-disqus/disqus/templates/disqus/show_comments.html
Line 6 in 0db52c2
Django 1.8.18
django-disqus 0.5
Python 3.4
I've set it up long ago and didn't check it. It was working without this config. At least we thought it was until we found out that comments are published on wrong pages and wrong links were formed by Disqus.
The text was updated successfully, but these errors were encountered: