django can be null code example
Example 1: django is null
MyModel.objects.filter(field__isnull = False)
Example 2: make column nullable django
field = models.DateField(null=True)
MyModel.objects.filter(field__isnull = False)
field = models.DateField(null=True)