TypeError: as_view() takes 1 positional argument but 2 were given
as_view
doesn't take positional arguments, it takes keyword arguments.
EmployeeTemplateView.as_view(emp='employees')
Make sure that you put "as_view()" as such. Not "as_view". I made such a big mistake