I had many time the need to optimize some performance issues with Django ORM queries, then many times the prefetch_related and select_related were my best tool for this problem. But when calling some business logic which reside in some model's method...

Markdown supported · ⌘↵ to post
No responses yet.