python djnago if anfield is nukll then send empty object code example Example: django is null MyModel.objects.filter(field__isnull = False)