Hi, everyone:
I am following the tutorial 4 on the Django official site.
so this is what I got:

info_dict = {
    'queryset' : Poll.objects.all(),
}

urlpatterns = patterns('',
    (r'^$', 'list_detail.object_list',
            dict(info_dict,
                 template_name='polls/index.html',
                 template_object_name='latest_poll_list')),
)

I did successfully override template_name (it was poll_list by default), but
for template_object_name, I just have no idea, its still object_list by
default, and  what I did seems right, right?


Could someone please help me ??

Thanks a lot.


-- 
⚡ Chen Xu ⚡

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to