Simon Willison’s Weblog

Subscribe

Django snippets: "for" template tag with support for "else" if array is empty. A neat solution to a common pattern; I’d personally like to see this included in Django proper.