Skip to main content
🔮 Output PredictionDJ Django Hard⚡+35 XP

select_related Purpose

Why use select_related() here?

Django
posts = Post.objects.select_related('author').all()

🔮 What is the output?