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