У меня в коде есть такое:
urlpatterns += patterns('django.views.generic.list_detail',
url(r'rabota/(?P<slug>[\-\d\w]+)/$', 'object_detail', {'slug_field': 'title_slug', 'queryset': Rabota.objects.filter(is_public=True)}, name='pl-rabota')
)
urlpatterns += patterns('django.views.generic.list_detail',
url(r'rabota/(?P<slug>[\-\d\w]+)/(?P<id>\d+)/$', 'object_detail', {'slug_field': 'title_slug', 'queryset': Rabota.objects.filter(is_public=True)}, name='pl-rabota')
)
object_detail() got an unexpected keyword argument 'id'