You can use `list_select_related` for Django Admin too.
[]'s
Lucas Magnum.
2016-07-21 15:52 GMT-03:00 Rael Max :
> Hi everyone,
>
> I'm working in a project with a large mysql database and i've faced with
> problems generated on django admin list. Basically, the query executed to
> retrieve
Hi everyone,
I'm working in a project with a large mysql database and i've faced with
problems generated on django admin list. Basically, the query executed to
retrieve a list of items from a model uses a SQL SELECT passing a list of
all attributes of model, but usually we only use a small set
For 1, I'm wondering if there's anything preventing that from being
implemented as a third-party package? It seems that could be a first step
toward getting a better sense of the idea and whether or not it should be
included in core.
For 2, a first step could be to add proper hooks in Django so
Hi Shai,
I needed a similar feature in one of my projects.
I have started to use and try to extend the Django collector used in Admin
deletion, and finished with something I was not really happy about...
I have then created a full collector (following all relations, foreign
keys, manytomany, GFK