Autocomplete Foreign Keys by default in Admin

47 views
Skip to first unread message

Vasanth Mohan

unread,
Oct 9, 2021, 12:38:40 PM10/9/21
to Django developers (Contributions to Django itself)
The admin page for any object becomes ridiculously slow (upto 10s) when the object and its multiple inlines have foreign keys. The latency just disappears after i added autocomplete for each one manually.

Is there any reason why foreign keys are not autocomplete by default ? Will the devs be interested in changing the default behaviour for foreign key in admin ? Or accepting a patch for the same?
Reply all
Reply to author
Forward
0 new messages