learning-unlimited/ESP-Website — pull request #1451 by benjaminjkraft (2014-11-03 17:00:44+00:00)
Title: Convert an isinstance() back to a type()

This reverts one line of 673e5dd. Previously it was checking if the type() of
something was QuerySet (and erroring if so). The change caused it to error on
*any* instance of QuerySet, including for example a ValuesListQuerySet. This broke some (or all?) ajax autocompletes.

It may be worth a more careful look over #1411 to make sure no other similar issues were introduced.