Re: django ratings problem

2012-12-25 Thread sri
Hi, the issue has been resolved now. The primary key for my model was a CharField and it was giving error because of that. Once i changed my primary key to an IntergerField, it all worked fine. https://github.com/dcramer/django-ratings/issues/14 Thanks On Tuesday, 25 December 2012 06:27:14 UTC

Re: django ratings problem

2012-12-24 Thread Ryan Blunden
Can you share the error and the stack trace at http://pastie.org/. Sharing environmental information such as OS, Python version, Django version, reported django-ratings app version is also critical in helping your figure out what the issue is. Cheers, Ryan On Monday, December 24, 2012 10:35:44

django ratings problem

2012-12-24 Thread sri
Hi, I am trying to add django-ratings to my app and it keeps falling over when i try to add a rating. The steps i have followed is below 1) pip install django-ratings 2) Add 'djangoratings' to my settings.py 3) Add a field in my model class with field name "cust_rating = RatingField(ra

[django-ratings]Problem if my id key is not an integer.

2011-04-04 Thread David.D
My models all extend my custom model class which id is a CharField not a PositiveIntegerField like the Django's default django.db.models.Model . So, when I try to add a vote, I got a ValueError: invalid literal for int() with base 10: 'my-char-id' Because the object_id field is defined like this