Re: render_to_response syntax

2008-03-31 Thread Jaap
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

Re: render_to_response syntax

2008-03-30 Thread Karen Tracey
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" >

Re: render_to_response syntax

2008-03-30 Thread Evert Rol
> 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 syntax

2008-03-30 Thread Jaap
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