Fix read only fields lookup of endpoint field

I have an `endpoint` field and it breaks when I try to make it readonly because model base get the `self.endpoint` instead of `instance.endpoint`.