News for hackers. Stuff that matters.
Re:Ban 1+N in Django by readertime on Sunday March 26, 2023 @07:45PM (#35320985)
I agree; Django (and many ORMs) have taken the opinion that if you load N instances of a model, and then you load a related field on 1 of them, you likely only want the 1 related field. If however they assumed that loading a related field implies you likely want all related fields, perhaps there’d be fewer instances of foot-gunning.

There are no comments on this comment yet.