Reducing queries for ForeignKeys in Django admin inlines
Speed up with raw_id_fields
ForeignKeys in the Django admin show as a select-box (<select>) by default. This will result in a query for every item in the select, only to get the name. This is not a problem if the model you're referencing will always ...
deepintodjango.com3 min read
Ander
I am having performance issues because of the inlines, I am really curious about your solution, but is it just for Django v4? that way of defining inlines = ["some-inline"] as strings doesn't look familiar, shouldn't that be classes instead?