-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Miuler wrote: > ok thanks, but what is the syntax chameleton_text? url?
I mis-typed, thinking that I remembered a module named 'chameleon.text'. In BFG, you can use the 'repoze.bfg.chameleon_text' helpers, e.g.: from repoze.bfg.chamedeon_text import render_template_to_response def my_view(context, request): return render_template_to_response('templates/my_view.txt', foo='Foo', ... ) See: http://docs.repoze.org/bfg/1.2/api/chameleon_text.html?highlight=chameleon_text#module-repoze.bfg.chameleon_text Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkt0msEACgkQ+gerLs4ltQ50/gCgz6ANNYwriRynuK+YSShbDsxh bBYAnihvaSwmdZeRu6WwI8k3cLOvBc0o =/VyH -----END PGP SIGNATURE----- _______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev