Closed manisar2 closed 3 years ago
Hi @manisar2, thank you for your kind words, and for the report, it's a good catch!
It's already fixed. It will be part of v2.8.4. But I want to resolve another issue before I make the release. Thanks again @manisar2!
My pleasure, thanks for the fix!
@danirus I see no change, am I missing something? Removal:
'likedit_users': likedit_users, 'likedit': likedit,
'dislikedit_users': dislikedit_users, 'disliked': dislikedit
Addition
'likedit': likedit,
'disliked': dislikedit,
'likedit_users': likedit_users,
'dislikedit_users': dislikedit_users
You might be looking in the source code of the pip installed package. The fix is in the master branch, here in GitHub. I have not release a new version yet. I need to work on another issue before I prepare a new release.
However, you can install the version in GitHub. Just clone the repository, cd into it with your virtualenv enabled and run pip install -e .
. That way you will get the latest code installed in your virtualenv.
I was looking at the change log. Also looked in the repo. I think you meant to change the key disliked
to dislikedit
.
Currently, there isn't anything changed as it appears to me.
This happens when I pretend to fix something before I have breakfast. Thank you again @manisar2.
NP!
Thanks for making such an awesome, well-documented and well-supported application!
There seems to be a variable wrongly named - either it should be
dislikedit
in models.py, ordisliked
in user_feedback.html.Currently in templates\includes\django_comments_xtd\user_feedback.html, we have:
And in models.py, there is:
This means that, in user_feedback.html, the variable referred to as
item.dislikedit
always results inFalse
. Please have a look.Also, I was not able to find a mention of these variables in documentation.
likedit_users
anddislikedit_users
are explained, but these two variables returningTrue
andFalse
need to be added I think.