allow for none as django model field code example Example: make column nullable django field = models.DateField(null=True)