0

Django has an inbuilt Model field called BigIntegerField, but it does not have a corresponding Form field, and there is only an IntegerField available for use with forms. Is there any problem with this mismatch? That is using BigIntegerField in the model and IntegerField for the model form.

I want to store phone numbers in these fields (10-digits), so the IntegerField Model class cannot store all positive 10-digit values as it is only up to 2147483647.

Rithwik
  • 1,128
  • 1
  • 9
  • 28

0 Answers0