Home
last modified time | relevance | path

Searched refs:jinja2 (Results 1 – 10 of 10) sorted by relevance

/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/
Djinja2.py15 import jinja2
117 kwargs['loader'] = jinja2.ModuleLoader(compiled_path)
120 kwargs['loader'] = jinja2.FileSystemLoader(template_path)
123 env = jinja2.Environment(**kwargs)
210 jinja2 = app.registry.get(key)
211 if not jinja2:
212 jinja2 = app.registry[key] = factory(app)
214 return jinja2
217 def set_jinja2(jinja2, key=_registry_key, app=None): argument
230 app.registry[key] = jinja2
/external/chromium-trace/trace-viewer/third_party/webapp2/tests/
Dextras_jinja2_test.py5 from webapp2_extras import jinja2
31 j = jinja2.Jinja2(app)
47 j = jinja2.Jinja2(app)
63 j = jinja2.Jinja2(app)
75 j = jinja2.Jinja2(app)
82 jinja2.set_jinja2(jinja2.Jinja2(app), app=app)
84 j = jinja2.get_jinja2(app=app)
85 self.assertTrue(isinstance(j, jinja2.Jinja2))
90 j = jinja2.get_jinja2(app=app)
92 self.assertTrue(isinstance(j, jinja2.Jinja2))
/external/chromium-trace/trace-viewer/third_party/webapp2/docs/api/webapp2_extras/
Djinja2.rst1 .. _api.webapp2_extras.jinja2:
5 .. module:: webapp2_extras.jinja2
9 To use it, you must add the ``jinja2`` package to your application
13 You can download ``jinja2`` from PyPi:
/external/chromium-trace/trace-viewer/third_party/webapp2/docs/
Dtodo.rst28 - jinja2 & mako
68 from webapp2_extras import jinja2
71 j = jinja2.Jinja2(app)
81 j = jinja2.get_jinja2(factory=jinja2_factory)
85 http://stackoverflow.com/questions/3086091/debug-jinja2-in-google-app-engine/3694434#3694434
95 a nested dict. So, e.g., i18n, jinja2 and sessions are configured like this::
101 config['webapp2_extras.jinja2'] = {
Dindex.rst87 api/webapp2_extras/jinja2.rst
134 api/extras.jinja2.rst
/external/chromium-trace/trace-viewer/third_party/webapp2/docs/api/
Dextras.jinja2.rst3 This page moved to :ref:`api.webapp2_extras.jinja2`.
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2.egg-info/
DSOURCES.txt29 docs/api/extras.jinja2.rst
46 docs/api/webapp2_extras/jinja2.rst
129 webapp2_extras/jinja2.py
/external/chromium-trace/trace-viewer/third_party/webapp2/tests/resources/jinja2_templates_compiled/
Dtmpl_3a79873b1b49be244fd5444b1258ce348be26de8.py2 from jinja2.runtime import LoopContext, TemplateReference, Macro, Markup, TemplateRuntimeError, mis…
/external/chromium-trace/trace-viewer/third_party/webapp2/docs/guide/
Dextras.rst13 Some of these modules (:ref:`api.webapp2_extras.i18n`, :ref:`api.webapp2_extras.jinja2`,
/external/chromium-trace/trace-viewer/third_party/webapp2/
DCHANGES257 config attribute. Extras modules that use configuration (i18n, jinja2,
385 - webapp2_extras.jinja2: Support for Jinja2 templating.