Order serialization N+1 queries

Code reviewMedium25 min

Your task

Review this Python (Django ORM) view that serializes orders with their line items.