Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
danielheath
on March 27, 2023
|
parent
|
context
|
favorite
| on:
Ban 1+N in Django
I don't want my app to change performance-sensitive behavior at runtime, that's a debugging nightmare.
I do want my framework to throw an error in development mode if I screw up the preloading.
wruza
on March 27, 2023
[–]
Since this also requires the same heuristics, it could be just an option: orm.unroll(“auto|throw|none”). Would suit you, me and a commenter who wants hundreds of requests as they wrote.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I do want my framework to throw an error in development mode if I screw up the preloading.