Open omaraltayyan opened 4 years ago
Hi @omaraltayyan, they go together, the Python code and the JavaScript code are both released with the same version and have to be used together. If you got django-comments-xtd 2.6.1, then you have to change the script tags in your html code to make use of the version 2.6.1 of the plugin. They are part of the same bundle. Give it a try and let me know if you got it fixed.
any ideas why including
<script src="{% static 'django_comments_xtd/js/vendor~plugin-2.6.1.js' %}"></script>
<script src="{% static 'django_comments_xtd/js/plugin-2.6.1.js' %}"></script>
instead of the above scripts causes a "React is not defined" error? do i need to include something else, sorry but the docs seem to mention version 2.3.1 only
Maybe you read the docs for version 2.3.1 but installed version 2.6.1. It may happen when googling the documentation, as each version is documented. To be sure you use the docs of the version you use, visit the docs url and check out the version at the bottom left corner within the sidebar.
currently when using version 2.6.1 and including the plugin files from version 2.2.1 the comments javascript plugin fails to retrieve comments because the retreived
flags
array is emptythis is the error
in these lines
these are the includes i am using
settings.py
template script:
please let me know if there's a workaround for the issue