Skip to content
Myr

[svn] small doc changes

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent abc0064 · Browse files · 2 files+21 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+21 added−4 removed

  • other:+21 added−4 removed

2 files+21 added−4 removed

modified:docs/src/frameworks.txt+21 added
27 unmodified lines
28 config.init_app(global_conf, app_conf, package='yourproject',29 template_engine='jinja')303132TurboGears33----------3435Integrating Jinja into TurboGears works pretty much the same.3637Basically all you have to do is to edit the application configuration file at38``application/config/app.cfg`` and change `global.tg.defaultview` and39provide the jinja options:4041.. sourcecode:: ini4243 [global]44 tg.defaultview = 'jinja'45 jinja.loader.searchpath = '/path/to/templates'4647Because of the limitations of the configuration file there is currently no way48to configure jinja correctly. This problem does not exist with pylons since you49can pass any python object to the baker configuration system. We're currently50looking for solutions to this problem.515253.. _TurboGears: http://www.turbogears.org/54.. _pylons: http://www.pylonshq.com/
modified:docs/src/index.txt-4 removed
35 unmodified lines
3637Undocumented So Far38-------------------3940- Debugging Templates4140- i18n for Developers4142- Writing Custom Loaders4346- Jinja in TurboGears / django?4744- Changelog / Authors