News for hackers. Stuff that matters.
Re:Taming the beast that is the Django ORM – An introduction by stavros on Sunday September 01, 2024 @07:21AM (#41415961)
There's a Django app (that I forget the name of) that disables lazy loading in templates, thus requiring you to load everything explicitly in the view.
Re:Taming the beast that is the Django ORM – An introduction by rowanseymour on Sunday September 01, 2024 @09:48AM (#41416952)
I think there's a few 3rd party solutions like https://github.com/charettes/django-seal but I don't love the idea of using something that I assume is monkey patching Django code.
Re:Taming the beast that is the Django ORM – An introduction by charettes on Monday September 02, 2024 @07:07PM (#41429521)
There is an ongoing effort to include back the equivalent in core [here](https://github.com/django/django/pull/17554)