No do not worry. The import only happes the first time, than the
module is cached.


On Jun 13, 5:32 pm, Giuseppe Luca Scrofani <[email protected]>
wrote:
> Hi, how I can insert in a page not served by a controller (think
> layout.html in the welcome application) current day and month?
>
> I've tested something like this {{import datetime;
> datetime.datetime.now()}} but even if this worked it will be horrible
> (import datetime every single page load...)

Reply via email to