Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)
starflyer.templating
~~~~~~~~~~~~~~~~~~~~

Implements the bridge to Jinja2.

Adapted from flask and extended with our own module approach.

:copyright: (c) 2011-2013 by Armin Ronacher, Christian Scholz.
:license: BSD, see LICENSE for more details.

src/o/p/openspending-HEAD/openspending/ui/alttemplates/__init__.py   openspending(Download)
import templating  # NOQA
 

src/r/e/retro-HEAD/Sources/retro/contrib/webapp.py   retro(Download)
 
try:
	import templating
	templating.FORMATTERS["json"]       = asJSON
	templating.FORMATTERS["primitive"]  = asPrimitive

src/p/y/PyWavelets-0.2.2/util/commands.py   PyWavelets(Download)
from distutils.errors import DistutilsClassError
 
import templating
 
base_dir = os.path.join(os.path.abspath(os.path.dirname(__file__)), "..")