get non null values from model django code example Example: django is null MyModel.objects.filter(field__isnull = False)