summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2013-09-08 04:44:50 -0400
committerChris McDonough <chrism@plope.com>2013-09-08 04:44:50 -0400
commit6a28ee15243fa1a3ae918d176cc6629c1cacfb7e (patch)
tree98576c6ad37cf7c6c0cfaf62b635723380cc2393 /CHANGES.txt
parentfc477b2e4b20ae2788e468e45b2831e774be8ced (diff)
parentbd5a7ff20d9bdeaf36ef4154cbb0322696a46e2b (diff)
downloadpyramid-6a28ee15243fa1a3ae918d176cc6629c1cacfb7e.tar.gz
pyramid-6a28ee15243fa1a3ae918d176cc6629c1cacfb7e.tar.bz2
pyramid-6a28ee15243fa1a3ae918d176cc6629c1cacfb7e.zip
fix merge conflict
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 64b269f80..9d34786e2 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -10,6 +10,39 @@ Bug Fixes
Backwards Incompatibilities
---------------------------
+- Pyramid has dropped native support for the Mako and Chameleon renderers. To
+ re-add support for these renderers into existing projects there are 3 steps:
+
+ - Add `pyramid_mako` and/or `pyramid_chameleon` as dependencies by
+ adding them to the `install_requires` section of the package's `setup.py`::
+
+ setup(
+ #...
+ install_requires=[
+ 'pyramid_mako', # new dependency
+ 'pyramid_chameleon', # new dependency
+ 'pyramid',
+ #...
+ ],
+ )
+
+ - Update instances of the ``pyramid.config.Configurator`` to include the
+ required addons::
+
+ config.include('pyramid_chameleon')
+ config.include('pyramid_mako')
+
+ - If any unit tests are invoking either ``pyramid.renderers.render()`` or
+ ``pyramid.renderers.render_to_response()`` with either Mako or Chameleon
+ templates then the ``pyramid.config.Configurator`` instance at the root of
+ the unit test should be also be updated to include the addons, as shown
+ above. For example::
+
+ config = pyramid.testing.setUp()
+ config.include('pyramid_mako')
+
+ result = pyramid.renderers.render('mypkg:templates/home.mako', {})
+
- Removed the ``request.response_*`` varying attributes. These attributes
have been deprecated since Pyramid 1.1, and as per the deprecation policy,
have now been removed.