OverflowError: Python int too large to convert to SQLite INTEGER
rodolphopivetta opened this issue · comments
Rodolpho Pivetta Sabino commented
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
Rodolpho Pivetta Sabino commented
I suggest the field object_id
can be a CharField, as explained in the "Primary key type compatibility" note in the class GenericForeignKey documentation