[Answer]-Classed based ViewList (page not found)

1👍

Switch the order of your regex, as your jobinfo_detail is capturing job/list/:

url(r'^job/list/$', login_required(JobInfoList.as_view()), name='job_list'),
url(r'^job/(?P<slug>[\w-]+)/$', login_required(JobInfoDetail.as_view()), name='jobinfo_detail'),

Leave a comment