On 9/6/06, hotani <[EMAIL PROTECTED]> wrote: > in the template, I'm testing for object list like so: > {% if object_list %} > > also tried putting {% if archive_index %} but that sees nothing as well.
As the documentation[1] points out, the archive_index view gives you a variable called 'latest', not 'object_list' (because the purpose of archive_index is to show the latest content for a given model). [1] http://www.djangoproject.com/documentation/generic_views/#django-views-generic-date-based-archive-index -- "May the forces of evil become confused on the way to your house." -- George Carlin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---