Added a quick regression test that shows why Meta.ordering and order_by()
commitd200a584c806a59e700e9fea7acec2b305f8654f
authormtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Mon, 11 Aug 2008 23:40:34 +0000 (11 23:40 +0000)
committermtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Mon, 11 Aug 2008 23:40:34 +0000 (11 23:40 +0000)
tree8101f60f6c24b5bfa9ee654297066caae5d461d9
parentc5bfe36da58410a661c3ede9e8f527fa9f2f6251
Added a quick regression test that shows why Meta.ordering and order_by()
aren't always equivalent. This is documented, stable behaviour, so we should
ensure it doesn't change accidentally.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
tests/regressiontests/queries/models.py