1. Sylvain Hellegouarch
  2. CherryPy Recipes
  3. Pull requests

Pull requests

#2 Open
Repository
Deleted repository
Branch
default (609a03fba99c)
Repository
CherryPy Recipes
Branch
default

Jinja2 & Mako update

Author
  1. Jocelyn Boullier
Reviewers
Description

According to https://bitbucket.org/cherrypy/cherrypy/wiki/UpgradeTo32, the way tool which need to modify the request.body has changed. The Jina2 tool now supports filters, easily added by passing a dict of "func name":func.

On Python 3 (at least, no idea with Python 2), for Jinja2, the encoding tool has to be on, but for Mako, it seems to have no influence.

  • Learn about pull requests

Comments (0)