Skip to content

Commit

Permalink
add example of rendering to the changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerickel committed Sep 5, 2013
1 parent 4315c0d commit 9ed074e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@ Major Backward Incompatibilities
config.include('pyramid_mako')

- If any unit tests are invoking either ``pyramid.renderers.render()`` or
``pyramid.renderers.render_to_response()``, 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.
``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', {})

1.5a1 (2013-08-30)
==================
Expand Down

0 comments on commit 9ed074e

Please sign in to comment.