Protected member accessed from outside the class, Django

I'm trying to condition if a value exist as a property in a model or not. I'm trying to do this

Mode()._meta.get_field("id")

But I got the following error from pylint

Protected member accessed from outside the class

Can someone help me please?

Back to Top