Hacker News new | ask | show | jobs
by lozenge 114 days ago
I think there's an argument for throwing AttributeError instead of silently going to N+1 behaviour.
1 comments

See sibling comment about fetch modes in coming 6.1 (https://docs.djangoproject.com/en/dev/topics/db/fetch-modes/), you can have a FieldFetchBlocked.