Fix for Django 1.6 and AttributeError: 'Query' object has no attribute 'ordering_aliases'

Checked the solution proposed at Issue #29 and it seems to work for me too. All thanks to @karanlyons