Is it possible to have access to the last modification time of a template?
I need it to properly set the Last-Modified header (when only the
template has been modified, and not the data source).
The Template object has a _last_modified attribute that works as I want,
but it is private.
Thanks Manlio Perillo
Thanks.
> On Oct 2, 2007, at 11:09 AM, Manlio Perillo wrote:
>
>> Hi.
>>
>> Is it possible to have access to the last modification time of a
>> template?
>>
>> I need it to properly set the Last-Modified header (when only the
>> template has been modified, and not the data source).
>>
>> The Template object has a _last_modified attribute that works as I
>> want,
A precisation: the attribute is "_modified_time" and it is defined in
the "module" attribute of the Template object (and it seems that it is
always defined, even for string based templates).
Manlio Perillo