tangentlabs/django-oscar — pull request #618 by skyjur (2013-04-16 13:34:03+00:00)
Title: Ineffiecient product select fields

In Django admin panel and in dashboard there are select fields with products. Select field won't work nicely with a large amount of products, and also it can generate a lot of queries. I would suggest using https://pypi.python.org/pypi/django-ajax-selects or similar solution to fix select fields problems.

Here is an product edit view in admin panel (~700 products, sets of parent + 2 children)
![oscar](https://f.cloud.github.com/assets/1822699/337934/0ff5b04c-9cfa-11e2-9679-d68aa9a1cf64.png)
As you can see all the select fields made 3000 queries. Cause - Product.get_title gets parent title for child product that has no title. I could copy title on child save (or oscar could denormalise the title or something...) but still, it hurts ;)