- url(r'^$', 'django.views.generic.list_detail.object_list', {
- 'queryset': models.Document.objects.all(),
- 'template_name': 'lessons/document_list.html',
+ url(r'^$', 'django.views.generic.simple.direct_to_template', {
+ 'template': 'lessons/document_list.html',