On 8/14/07, Marco A. <[EMAIL PROTECTED]> wrote:
> HI !
> I have this urls.py
>
> (r'^10/$',
> 'django.views.generic.list_detail.object_list', info_dict ,
> {'template':'cit_list10.html'}),
>
> but the genericview use the standard template ... not the template in
> 'cit_list10.html'.
>
> I doesnt find the problem
>
> Thanks for help !
Try this:
(r'^10/$', 'django.views.generic.list_detail.object_list',
dict(info_dict , {'template_name':'cit_list10.html'})),
Two things changed:
1) Used dict()
2) 'template_name', not 'template'
Jay P.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---