Tweak the join-in-ordering check
Linter fixes
Initial stab at polymodels, two failing django tests
When querying for a proxy model, don't filter on the class