matchbox/django-nonrel — pull request #6 by gthole (2013-05-01 19:07:49+00:00)
Title: Change order_by arguments to their db_column before adding to ordering.

Supposing a Field of the form

```
class MyModel(Model):
my_field = models.DateField(db_column="different_name")
```
then the following query will not successfully order the resulting QuerySet.

```
MyModel.objects.order_by('my_field')
```