Great!
I will use the configuration setting (*base_config.use_dotted_templatenames
= False*) instead. Much cleaner than hacking.

Regards,
León Domingo

Ender - Factoría de Software
[email protected] <[email protected]>
Avda. Cerro del Águila, 7. S23 - 2ª Planta
28703 S.S. de los Reyes (MADRID)
Tlf. 902 01 44 01

<http://www.ender.es/>
<http://www.facebook.com/home.php?#%21/pages/San-Sebastian-de-los-Reyes-Spain/Ender-Factoria-de-Software/142213119143359?ref=ts>
* <http://www.ender.es>*


On 7 April 2012 19:26, Carlos Daniel Ruvalcaba Valenzuela <
[email protected]> wrote:

> I can make it work by commenting lines from 20 thru 27, and always load
>> templates using FileSystemLoader I don't really need a patch to get it
>> work, I was just wondering how these things happen. I can even wait for
>> your patch to be merged into the trunk or whatever change that makes it
>> work without hacking TG 2.1.5.
>>
>
> You can also disable dotted names, in you app_cfg.py set:
>
> base_config.use_dotted_templatenames = False
>
> This will tell the jinja code to use FileSytemLoader directly, thus the
> jinja_lookup.py code will not be hit, that should revert the jinja loader
> behavior to work the same as 2.1.4, dotted names are not enabled by default
> with jinja because it is enabled by default on all other backends (for sake
> of homogeneity).
>
> Regards,
> Carlos Ruvalcaba
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to