theatlantic / django-nested-admin

Django admin classes that allow for nested inlines
http://django-nested-admin.readthedocs.org/
Other
715 stars 99 forks source link

Add instructions with regards to prefetching #197

Closed agalazis closed 3 years ago

agalazis commented 3 years ago

Mainly I don't know what the suggested route is for prefetching. What I do is adding all nested prefetching on ultimate parent admin. This seems not to work. Having a look at old issues some people tried to do it in nested inline formsets.

https://github.com/theatlantic/django-nested-admin/issues/76

Having in mind that nested admins can cause extra queries official guidance on optimization could be a first class citizen in the docs.

agalazis commented 3 years ago

After further investigation it seems that the issue also exists in normal inlines not related to this library but maybe we can keep this open to communicate findings/thoughts since optimization would be useful especially for this library.

agalazis commented 3 years ago

Closing since I realized it that base framework's implementation is a blocker You can use this ticket to track progress: https://code.djangoproject.com/ticket/32587