Pylons/pyramid_layout — pull request #1 by mmerickel (2012-10-14 01:13:54+00:00)
Title: added a layout predicate

allows declarative selection of layouts so they can be tied more closely
to the renderer selection and view parameters

this feature uses pyramid 1.4's ability to add custom view predicates through a nifty api.. I made sure it falls back gracefully for older pyramids