Electronics & Programming


Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » How do i test django ratings in my project? [RSS Feed]

#1 June 24, 2010 10:59:05

Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

How do i test django ratings in my project?


I have installed django ratings application in my projecthttp://github.com/dcramer/django-ratingsAm 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

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

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

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


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


  • Root
  • » Django
  • » How do i test django ratings in my project? [RSS Feed]

Board footer

Moderator control

Enjoy the 17th of March

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support