django queryset if field is null add value to that attribute code example Example: django is null MyModel.objects.filter(field__isnull = False)