Skip to content
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

Up voting prevents down voting. #46

Closed
wmantly opened this issue Apr 9, 2017 · 2 comments
Closed

Up voting prevents down voting. #46

wmantly opened this issue Apr 9, 2017 · 2 comments

Comments

@wmantly
Copy link

wmantly commented Apr 9, 2017

If you up vote something, then remove the vote by down voting you can down down vote again. This is also broken is the other direction. If you down vote then up vote(canceling you votes out), you cant up vote again.

@michaelyou
Copy link

there is a unique_together=('user_id', 'content_type', 'object_id', 'action') in the Model Vote and the issue you mentioned should not happen, can you check if this unique_together exists in your db?

@shellfly
Copy link
Owner

Close without reproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants