Hi,

I have installed django ratings application in my project
http://github.com/dcramer/django-ratings

Am wondering how best can i test my app voting functionality, because
django ratings is only allowing me to vote only once for the same
user, object and Ip address.
Is there a way i can disable this checks so that i can just insert
votes, test my application and when am happy i can enable this checks
back.

e.g. you can only run this once in the same machine;

myobject.rating.add(score=1, user='user_name', ip_address='127.0.0.1')

Again the user need to have been authenticated, unless you use None,
but again only once.

Paul

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to