Simon Willison’s Weblog

A nice example of when to use reduce in python. As a shortcut for assembling a large OR query using the Django ORM.

Tagged , , ,