class TestView(generic.ListView):
template_name = 'EmployeesLists/test.html'
context_object_name = 'test'
def get_queryset(self):
return Employee.objects.all()
url(r'^test/$', views.TestView.as_view(), name = 'test')
TemplateDoesNotExist at /test/
EmployeesLists/test.html, EmployeesList/employee_list.html