django-schedule
django-schedule copied to clipboard
OverflowError: Python int too large to convert to SQLite INTEGER
I'm trying to use Calendar with my User model where i use UUID as pk, and I can't create calendar, I believe, because this line where the object_id is saved as integerfield. In my case, this cause the error:
OverflowError: Python int too large to convert to SQLite INTEGER
I suggest the field object_id
can be a CharField, as explained in the "Primary key type compatibility" note in the class GenericForeignKey documentation