mitsuhiko/flask — pull request #959 by jso (2014-01-23 19:49:59+00:00)
Title: Add support for using jinja2's PackageLoader

Follows the same approach for switching between file-system and package loaders as used by werkzeug's wsgi.SharedDataMiddleware. That is, a string is assumed to be in the file system, and a tuple with length 2 is assumed to provide the (1) package name and (2) the template folder name in the package.