In this step, I was testing first upvote then if I immediately do downvote, the vote numbers will change but symbol will not change.
In this I refresh page and I was having a downvote and I do upvote then the number will change but the symbol will but remain to downvote and new upvote also come
and same happen here
I see the behavior. To be honest I haven't found this, but perhaps some untested changes on Bootstrap are affecting it. I'll check. Thanks for letting me know @Shekharnunia
I thought you was aware of it, because I noticed it a month ago but didn't put an issue, that's why yesterday first I ask you about this thing
I don't think this is a issue. Please try reloading the pages after you have voted up and down. Possibly even without cache. CTRL + F5.
I think it's related to the django channels. Did you configure Redis correctly?
I don't know if you guys are aware of this but when I search something example
let suppose I post this question and then when I type shekhar in search box I get
and this is the same question again and again.
Did you guys make it such a way to work like this?
As you said @Shekharnunia the vote UI is not working in the way it was intended. But the bug is not in the model, apparently is in the JS block responsible for doing the animation with the Ajax call, I'll spare some time to check it.
Sorry to be a pain about the search results, that is a new issue to raise, but in a nutshell: no, that's not how it should work, I was able to replicate the results and I have to check it.
Sorry to be a pain about the search results, that is a new issue to raise, but in a nutshell: no, that's not how it should work, I was able to replicate the results and I have to check it.
actually I was just checking the search app and when I used .distinct() or with example
context["articles_list"] = Article.objects.filter(Q(
title__icontains=query) | Q(content__icontains=query) | Q(
tags__name__icontains=query), status="P").distinct()
then I'm getting unique results.
Most helpful comment
As you said @Shekharnunia the vote UI is not working in the way it was intended. But the bug is not in the model, apparently is in the JS block responsible for doing the animation with the Ajax call, I'll spare some time to check it.
Sorry to be a pain about the search results, that is a new issue to raise, but in a nutshell: no, that's not how it should work, I was able to replicate the results and I have to check it.