Hi, I'm looking for a straightforward way to override the default ordering of the date-based generic view, in order to allow 'featured' entries to percolate to the top in a coltrane blog. So:
info_dict = { 'queryset': Entry.objects.all(), 'date_field': 'pub_date', } urlpatterns = patterns('django.views.generic.date_based', ... (r'^$', 'archive_index', info_dict), ) Would render the top 15 entries `order by featured DESC, pub_date DESC`. Any hints much appreciated, thanks! Joe --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---