From: Armin Ronacher Date: Sun, 18 Mar 2007 23:08:22 +0000 (+0100) Subject: [svn] too stupid to spell things X-Git-Tag: 2.0rc1~422 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=252f321b4119d24f5647c042454ce7d0026b2b84;p=jinja2.git [svn] too stupid to spell things --HG-- branch : trunk rename : jinja/bakerplugin.py => jinja/plugin.py --- diff --git a/docs/src/frameworks.txt b/docs/src/frameworks.txt index cc3eb70..c180670 100644 --- a/docs/src/frameworks.txt +++ b/docs/src/frameworks.txt @@ -2,8 +2,8 @@ Framework Integration ===================== -Jinja registers itself in the baker template plugin system. If your framework -supports baker (currently `TurboGears`_ and `pylons`_) you can add it very +Jinja registers itself in the buffet template plugin system. If your framework +supports buffet (currently `TurboGears`_ and `pylons`_) you can add it very easily. Pylons diff --git a/jinja/bakerplugin.py b/jinja/plugin.py similarity index 94% rename from jinja/bakerplugin.py rename to jinja/plugin.py index a0525bd..db1b651 100644 --- a/jinja/bakerplugin.py +++ b/jinja/plugin.py @@ -1,14 +1,15 @@ # -*- coding: utf-8 -*- """ - jinja.bakerplugin - ~~~~~~~~~~~~~~~~~ + jinja.plugin + ~~~~~~~~~~~~ - Provide a bridge to baker. Baker is used by some frameworks (namely + Provide a bridge to buffet. Buffet is used by some frameworks (namely CherryPy, TurboGears and Pylons) to load templates. :copyright: 2007 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ + from jinja import Environment