summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2013-09-08 21:12:10 -0400
committerChris McDonough <chrism@plope.com>2013-09-08 21:12:10 -0400
commitfdf30b3bb6f47d93d2f255a09e75be0c33d54789 (patch)
treeb67de9c251bdd232e03fbb9bb0ac44a2c76a91d3 /CHANGES.txt
parent780bbf9998fd805df55499ef4a78f41cbf99c7de (diff)
downloadpyramid-fdf30b3bb6f47d93d2f255a09e75be0c33d54789.tar.gz
pyramid-fdf30b3bb6f47d93d2f255a09e75be0c33d54789.tar.bz2
pyramid-fdf30b3bb6f47d93d2f255a09e75be0c33d54789.zip
- Removed the ability to pass the following arguments to
``pyramid.config.Configurator.add_route``: `view``, ``view_context``. ``view_for``, ``view_permission``, ``view_renderer``, and ``view_attr``. Using these arguments had been deprecated since Pyramid 1.1. Instead of passing view-related arguments to ``add_route``, use a separate call to ``pyramid.config.Configurator.add_view`` to associate a view with a route using its ``route_name`` argument. Note that this impacts the ``pyramid.config.Configurator.add_static_view`` function too, because it delegates to ``add_route``.
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 989d1bca1..69547ad46 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -81,6 +81,16 @@ Backwards Incompatibilities
since Pyramid 1.1. Use the ``pyramid.request.Request.is_response`` method
instead.
+- Removed the ability to pass the following arguments to
+ ``pyramid.config.Configurator.add_route``: `view``, ``view_context``.
+ ``view_for``, ``view_permission``, ``view_renderer``, and ``view_attr``.
+ Using these arguments had been deprecated since Pyramid 1.1. Instead of
+ passing view-related arguments to ``add_route``, use a separate call to
+ ``pyramid.config.Configurator.add_view`` to associate a view with a route
+ using its ``route_name`` argument. Note that this impacts the
+ ``pyramid.config.Configurator.add_static_view`` function too, because it
+ delegates to ``add_route``.
+
1.5a1 (2013-08-30)
==================