I\'m uploading some data from an excel file using xlrd and turning that data into models (with mainly IntegerField values) in Django. My excel file has a bunch of missing data.
Instead of using
age = models.IntegerField()
use
age = models.IntegerField(blank=True, null=True)
When we specify
blank=True, null=True
it will allow you to store null in that column