django model integerfield code example Example: django integer field example integer = models.IntegerField(blank=True, null=True)