On 18 Nov 2006, at 18:59, tonemcd wrote:
> > Perhaps something from here will help? > > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/59883 > > Where your list is an xrange(min...max) of id's from your database > table. That is, do it in python, not with your database... Ah sorry, forgot to mention, I have already populated the table with random numbers (in a column called and indexed it "random_number" ) so that I don't have to do a RAND() which is very, very slow... tom --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---