No. code in models is executed at every request. Code in modules is
importent only once and cached. It is executed when functions in the
module are called (as in normal python).

On Dec 11, 2:51 pm, Constantine Vasil <thst...@gmail.com> wrote:
> Just to confirm:
>
> If I put a code in /modules folder is it imported every time
> on each function request?
>
> I want it imported on demand only when I need it.

Reply via email to