| | |
| | | differ in the case ('text/html' vs. 'text/HTML') will now raise an error. |
| | | https://github.com/Pylons/pyramid/pull/620 |
| | | |
| | | - Configurator.add_directive now accepts arbitrary callables like partials or |
| | | objects implementing ``__call__`` which dont have ``__name__`` and |
| | | ``__doc__`` attributes. See https://github.com/Pylons/pyramid/issues/621 |
| | | and https://github.com/Pylons/pyramid/pull/647. |
| | | |
| | | - Forward-port from 1.3 branch: when registering multiple views with an |
| | | ``accept`` predicate in a Pyramid application runing under Python 3, you |
| | | might have received a ``TypeError: unorderable types: function() < |
| | |
| | | Features |
| | | -------- |
| | | |
| | | - Configurator.add_directive now accepts arbitrary callables like partials or |
| | | objects implementing ``__call__`` which dont have ``__name__`` and |
| | | ``__doc__`` attributes. See https://github.com/Pylons/pyramid/issues/621 |
| | | and https://github.com/Pylons/pyramid/pull/647. |
| | | |
| | | - Third-party custom view, route, and subscriber predicates can now be added |
| | | for use by view authors via |
| | | ``pyramid.config.Configurator.add_view_predicate``, |