Re: Two stage template loading

2008-02-21 Thread Jacob Kaplan-Moss
On 2/21/08, Vasily Sulatskov <[EMAIL PROTECTED]> wrote: > I am thinking about integrating get_template_from_string() > functionality into Template Loaders classes. I think it will have > numerous benefits (like possible caching for people who really need > it, and many other uses). The idea s

Two stage template loading

2008-02-21 Thread Vasily Sulatskov
Hi, Django now uses two stage template loading process: 1. First find_template_source() which uses settings.TEMPLATE_LOADERS to actually load template 2. get_template_from_string() which is essentially a factory function for Template objects I am thinking about integrating