Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OverflowError: Python int too large to convert to SQLite INTEGER #56

Open
rodolphopivetta opened this issue May 17, 2016 · 1 comment
Open

Comments

@rodolphopivetta
Copy link

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
@rodolphopivetta
Copy link
Author

I suggest the field object_id can be a CharField, as explained in the "Primary key type compatibility" note in the class GenericForeignKey documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant