how to check data is not null in django code example Example: django is null MyModel.objects.filter(field__isnull = False)