2010 January
-
💬 Reply to :
urlpatterns = patterns('',
(r'^salaries/employee/$', list_detail.object_list, 'employee_info'), )The third item in the tuple needs to be a dictionary, not a string. Try removing the single quotes around employee_info:
urlpatterns = patterns('', (r'^salaries/employee/$', list_detail.object_list, employee_info), )