Args and dictionary in render_to_response
<p>How to pass arguments and a dictionary in the query ?</p>

<p>My example does not work</p>

<pre><code>return render_to_response('bookmarks_add.html', {'categories': categories, 'args':args})
</code></pre>

<p>Separately work</p>

<pre><code>return render_to_response('bookmarks_add.html', args)
</code></pre>

<p>and</p>

<pre><code>return render_to_response('bookmarks_add.html', {'categories': categories})
</code></pre>

<p>try this:</p>

<pre><code>args.update({
   'categories': categories,
})
return render_to_response('bookmarks_add.html', args)
</code></pre>

python django