I'm returning the following error when chaining together querys.
'itertools.chain' object has no attribute 'filter'
Here is my url page:
Entry_list = Entry.objects.all()
Category_list = Category.objects.all()
urlpatterns = patterns('django.views.generic.dates',
url(r'^$',
ArchiveIndexView.as_view(queryset= chain(Entry_list, Category_list),
date_field='pub_date'),
name='coltrane_entry_archive_index'),
)
It looks like this is due to the generic view.
python2.7/site-packages/django/views/generic/dates.py in get_dated_queryset, line 351
Is there another way to return both querysets to the template that would work with generic views?