Hi
On 2/9/07, Brett Parker <[EMAIL PROTECTED]> wrote:
> Err, why not use a random sort as...
>
> Obj.objects.order_by('?')
>
> ref: http://www.djangoproject.com/documentation/db_api/#order-by-fields
Becasue I didn't know it (a good reason, I think).
> Cheers,
Thanks Brett!
Kai
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---