From 7c525f127cee96a749e15b6ba2dfbc5379825178 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 25 Apr 2010 17:04:02 +0000 Subject: - It is now possible to turn on Chameleon template "debugging mode" for all Chameleon BFG templates by setting a BFG-related Paster ``.ini`` file setting named ``debug_templates``. The exceptions raised by Chameleon templates when a rendering fails are sometimes less than helpful. ``debug_templates`` allows you to configure your application development environment so that exceptions generated by Chameleon during template compilation and execution will contain more helpful debugging information. This mode is on by default in all new projects. --- CHANGES.txt | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 5d17d0134..e2199614f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -62,10 +62,20 @@ Features narrative documentation chapter entitled ``Internationalization and Localization``. -- A new setting named ``default_locale_name`` was added. If this - string is present as a Paster ``.ini`` file option, it will be - considered the default locale name. The default locale name is used - during locale-related operations such as language translation. +- A new deployment setting named ``default_locale_name`` was added. + If this string is present as a Paster ``.ini`` file option, it will + be considered the default locale name. The default locale name is + used during locale-related operations such as language translation. + +- It is now possible to turn on Chameleon template "debugging mode" + for all Chameleon BFG templates by setting a BFG-related Paster + ``.ini`` file setting named ``debug_templates``. The exceptions + raised by Chameleon templates when a rendering fails are sometimes + less than helpful. ``debug_templates`` allows you to configure your + application development environment so that exceptions generated by + Chameleon during template compilation and execution will contain + more helpful debugging information. This mode is on by default in + all new projects. ZCML ---- @@ -141,6 +151,9 @@ Paster Templates - A ``default_locale_name = en`` setting was added to each existing paster template. +- A ``debug_templates = true`` setting was added to each existing + paster template. + Licensing --------- -- cgit v1.2.3