Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Problem if my id key is not integer #14
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, the code will fail at:
in fields.py because of the object_id field being defined like this in models.py:
Any ideas how should I deal with this ?
Thanks in advance