Here is more information: http://stackoverflow.com/questions/1257943/generic-view-archiveyear-produces-blank-page
On Aug 10, 8:35 pm, Alasdair <alasdairapni...@googlemail.com> wrote: > archive_year doesn't add a list of objects to the context by default. > Instead, it adds date_list, a list of months that have objects > available in the given year. > > To add object_list to the context, use the optional argument > make_object_list=True when calling archive_year. > > For more info, look at the docs > athttp://docs.djangoproject.com/en/dev/ref/generic-views/#django-views-... > > Alasdair > > On Aug 11, 1:27 am, Matthew <matthew.g.nor...@gmail.com> wrote: > > > I am using Django's generic views to create a blog site. The > > templates I created, entry_archive_day, entry_archive_month, > > entry_archive, and entry_detail all work perfectly, but > > entry_archive_year does not. > > > Instead, it is simply a blank page. It looks like it sees no objects > > in 'object_list'. > > > I know that 'archive' uses a 'latest' list instead of 'object_list', > > but that's not the case with 'archive_year', correct? > > > Thanks, > > Matthew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---