On Jan 14, 2011, at 1:06 AM, Bob wrote:
> 
> I see no downsides and seems that Massimo confirmed that. I already
> tried using return locals() and it works without issues.
> 
> On 14 Ян, 07:37, pbreit <[email protected]> wrote:
>> Wait, so are you saying that instead of return dict(items=items, blah=blah,
>> etc) we can just use return locals() on most or all controllers? What's the
>> downside, memory? Implicitness?

I would say implicitness. At the very least, the dict documents what you intend 
the view to need/use for its work.

Reply via email to