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),
)
If you enjoyed my content for some reason, I'd love to hear from you! Here are some options:
- You can buy me a coffee!
- You can write a reply on your own site and submit the URL as a webmention via the form below.
- Or you can just contact me!