Re: Make `raw_id_fields` the default functionality in the admin

2018-10-17 Thread Collin Anderson
raw_id_fields can be a bit confusing to people. Have you tried the new autocomplete_fields? It's almost as easy to use as a select field, and it should help solve the problem. However, it's not as easy to make the default (because it requires specifying search_fields on the related model) On Wed,

Re: Make `raw_id_fields` the default functionality in the admin

2018-10-17 Thread Yo-Yo Ma
One last note: M2M could also benefit from this, and could continue to look for `filter_horizontal` and not use a raw IDs field in those cases. On Wednesday, October 17, 2018 at 11:59:43 AM UTC-4, Yo-Yo Ma wrote: > > I have yet to ever come across a situation where the default > field is more

Make `raw_id_fields` the default functionality in the admin

2018-10-17 Thread Yo-Yo Ma
I have yet to ever come across a situation where the default field is more useful than the raw ID field, pertaining foreign key fields in the admin. I have, however, personally witnessed a major publishing company bring their production app servers to a halt (out of memory) due to Django