On Mon, 2009-01-26 at 07:13 -0500, Steve Holden wrote:
[...]   
> Quick unrelated nit: you don't actually need to create a dict here, as
> dict.update takes keyword arguments. So you can just say
> 
>     locals_dict.update(model=model, action=action)

Providing you're using Python 2.4 or later. Which is why that style is
avoided in Django's core. :-)

Regards,
Malcolm


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to