If you look at the internals of QuerySet, the evaluated values lie inside self._result_cache. You can just sort this element, but that sounds very hacky...
On Nov 22, 4:27 pm, Christophe Pettus <x...@thebuild.com> wrote: > Apologies if this is a FAQ... > > I'd like to take a QuerySet and order it in memory, rather than using > 'order_by'. However, I need it to stay a QuerySet, since I'll be feeding it > to the .queryset attribute of a ModelChoiceField. Is there any way of > accomplishing this? > > -- > -- Christophe Pettus > x...@thebuild.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.