2007/10/1, Tomas Kopecek <[EMAIL PROTECTED]>:
> items = shuffle(items)
If I do that I get
Exception Type: TypeError
Exception Value: object doesn't support item assignment
The '?' works If I put it on objects.all.order_by('?') instead objects.all
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net - Il mio sito personale
http://www.soasi.com - Sviluppo Software e Sistemi Open Source
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---