Accessing prefetched objects inside your model's methods
I had many time the need to optimise some performance issues with some ORM queries, then many times the prefetch_related and select_related were my best friends for this topic. But when calling some business logic which reside in some model's methods...
blog.mounirmesselmeni.de2 min read