0

Getting the below error

{OverflowError}Python int too large to convert to C long

when running.

EN_Users.objects.get(id=1) # EN_User --> Model | id--> primary key

Any help to fix this issue is highly appreciated.

Aravind Pillai
  • 739
  • 7
  • 21

1 Answers1

0

Check here for issue cause: "OverflowError: Python int too large to convert to C long" on windows but not mac

If possible, you should be able to correct it by removing the int casting and sticking to default float.

James
  • 169
  • 1
  • 4
  • 15