4 ms·
Mozilla does it with their Jinjo (template loader applying Django's layout conventions to Jinja templates): http://jingo.readthedocs.org/ http://jingo.readthedo
by obtu 15y ago
Mozilla does it with their Jinjo (template loader applying Django's layout conventions to Jinja templates): http://jingo.readthedocs.org/ http://jingo.readthedocs.org/
Coffin ports some template tags as well: https://github.com/coffin/coffin/ https://github.com/coffin/coffin/
That said, PyPy is 16× times faster rendering Django templates, which probably makes Jinja2's code-generation cleverness moot: http://speed.pypy.org/timeline/?exe=1&base=2%2B35&ben=django&env=tannit&revs=1000 http://speed.pypy.org/timeline/?exe=1&base=2%2B35&be...