> > > Can I do that with a Generic View? > There is nothing to stop you putting the order_by clause into a generic view, like so:
event_info = { 'queryset' : Events.objects.order_by('?'), } > > I'm using date_based.archive_index on an Event model which has many > Questions. > > On Sep 3, 2008, at 11:40 AM, Karen Tracey wrote: > > > Why not just create the randomized list in the view and pass the > > already-randomized list into the template? > > -- > Cortland Klein <[EMAIL PROTECTED]> +1 408 506 9791 > http://pixelcort.com/ > 2260 California Street #13 > Mountain View, CA, USA 94040 > > Alumni, Business Management <[EMAIL PROTECTED]> > San José State University > > Alumni Technical Advisor, Entrepreneurial Society <[EMAIL PROTECTED] > > > http://e-society.org/ > > Q&A Techie, Silicon Valley Mac User Group > http://svmug.org/ > > Member, Silicon Valley Google Technology User Group > http://sv-gtug.org/ > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---