- Using the ``pyramid.view.bfg_view`` alias for ``pyramid.view.view_config``
(a backwards compatibility shim) now issues a deprecation warning.
| | |
| | | - Fix deprecated example showing ``chameleon_zpt`` API call in testing |
| | | narrative chapter. |
| | | |
| | | Deprecations |
| | | ------------- |
| | | |
| | | - Using the ``pyramid.view.bfg_view`` alias for ``pyramid.view.view_config`` |
| | | (a backwards compatibility shim) now issues a deprecation warning. |
| | | |
| | | Backwards Incompatibilities |
| | | --------------------------- |
| | | |
| | |
| | | - Add docs for ``route_path`` and ``route_url``, etc to Request API docs (see |
| | | also https://github.com/Pylons/pyramid/issues#issue/19). |
| | | |
| | | - Deprecate ``@bfg_view``. |
| | | |
| | | - Reversing (context, request) in function view callable arglist produces |
| | | incomprehensible traceback:: |
| | | |
| | |
| | | import venusian |
| | | |
| | | from zope.interface import providedBy |
| | | from zope.deprecation import deprecated |
| | | |
| | | from pyramid.interfaces import IRoutesMapper |
| | | from pyramid.interfaces import IView |
| | |
| | | |
| | | bfg_view = view_config # permanent b/c |
| | | |
| | | deprecated( |
| | | 'bfg_view', |
| | | 'pyramid.view.bfg_view is deprecated as of Pyramid 1.0. Use ' |
| | | 'pyramid.view.view_config instead (API-compat, simple ' |
| | | 'rename).') |
| | | |
| | | def default_exceptionresponse_view(context, request): |
| | | if not isinstance(context, Exception): |
| | | # backwards compat for an exception response view registered via |