ordering by a field that does not exists returns an empty QuerySet
|Database layer (models, ORM)
|Patch needs improvement:
.order_by('field_that_does_not_exist') and evaluate it you get an empty list. This can lead to bugs if you mistype the field name and wondering why you are getting no results. I would expect Django to raise an exception instead. It appears it the queryset doesn't even trigger a database call.