Fixed #12258 - QuerySet.get() should clear ordering.
Fixed #12258 - QuerySet.get() should clear ordering.

We only clear ordering when doing so cannot change the result returned by
the get() method i.e.  when the query does not already define limits.

Thanks to mattdennewitz@gmail.com for the report, and jdunck for the patch



git-svn-id: 4f9f921b081c523744c7bf24d959a0db39629563@11916 bcc190cf-cafb-0310-a4f2-bffc1f526a37

aparo/django-nonrel,FlaPer87/django-nonrel,aparo/django-nonrel,aparo/django-nonrel,FlaPer87/django-nonrel,FlaPer87/django-nonrel