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 in django- ratings.models: object_id = models.PositiveIntegerField() Any ideas how should I deal with this ? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.