Absolutely right - thanks!
--~--~-~--~~~---~--~~
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
On Sun, Mar 30, 2008 at 5:23 AM, Jaap <[EMAIL PROTECTED]> wrote:
>
> render_to_response('template', *args, **kwargs):
> kwargs looks like a dictionary but if I refer to a dictionary, it is
> ignored:
>
> In
>names = {}
>names['my_name'] = "somename"
>
> render_to_response('template', *args, **kwargs):
> kwargs looks like a dictionary but if I refer to a dictionary, it is
> ignored:
>
> In
>names = {}
>names['my_name'] = "somename"
>render_to_response('template.html', names)
>
> names is equivalent to {'my_name': 'somename'}, so I
render_to_response('template', *args, **kwargs):
kwargs looks like a dictionary but if I refer to a dictionary, it is
ignored:
In
names = {}
names['my_name'] = "somename"
render_to_response('template.html', names)
names is equivalent to {'my_name': 'somename'}, so I would expect the
4 matches
Mail list logo