Answer the question
In order to leave comments, you need to log in
How to optimize queries for raw_id_fields in Django admin inlines?
When generating a page, 1 request is made for each raw_id_fields field to form a label . Moreover, this request comes from the ForeignKeyRawIdWidget widget.
I can have several hundred objects on the page, and I want to optimize all this a little.
How to do it ?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question