Re: Admin widget for filter_vertical and filter_horizontal slow

2009-04-17 Thread maco
Thanks, that's a nice workaround. I'll give it a thought. Having a input filed widget instead of select plus some JS for suggested search. I use jquery.liveSearch.js allready on a title in my model. On 16 apr., 17:01, Christopher Dodd wrote: > Yeah, this is a known

Re: Admin widget for filter_vertical and filter_horizontal slow

2009-04-16 Thread Christopher Dodd
Yeah, this is a known issue. http://code.djangoproject.com/ticket/3202 I ran into it myself and have been trying all kinds of things to work around it. Once you get enough rows in a table the default controls are no longer feasible. Have you looked into the raw_id_fields option? It wasn't an

Admin widget for filter_vertical and filter_horizontal slow

2009-04-16 Thread maco
My model has two Foreign Keys. Each FK has 4000 entries or more. In admin.py I use filter_horizontal for those FK. I noticed that JS widget is slow both on first render of admin page (add item) and on every selection of an FK item inside the widget. I takes 5 seconds AFTER admin page already