django model column accept null code example Example: make column nullable django field = models.DateField(null=True)