On Friday 07 April 2017 15:35:55 Adam Johnson wrote:
> Patryk, when you say 'revisit', do you have links to the original
> discussion/tickets?

He was replying to a thread from 2013. You should have the link at the bottom 
of every message.

> 
> I also agree that __repr__ shouldn't be able to trigger extra DB queries in
> a standard setup.
> 

... and this ties into my other suggestion: __repr__ could be implemented as, 
basically,

        with database_disabled:
                return str(self)

Reply via email to