django-ratings
django-ratings copied to clipboard
rating_score and rating_votes return zero after moving database
I have a weird problem when i export my local database to the server (and vice versa) I still have the votes number and rating.get_ratings() working, but rating_score, rating_votes, rating.get_real_percent etc return all zero! Can you explane this? Is this related with the key field or with the ip?
It's possible that the md5 hash which is used to calculate the key differs from the local and remote server I suppose. You could test this yourself by doing python -c "import hashlib; print hashlib.md5('test').hexdigest()"