Pylons / pyramid_layout

Pyramid add-on for managing UI layouts.
Other
24 stars 26 forks source link

added a layout predicate #1

Closed mmerickel closed 11 years ago

mmerickel commented 11 years ago

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