Into the "modules" folder I created file (call it myfile.py for
example). Into this file there is a variable "title". This variable
contains value that is common for all pages of my application.
If import var = local_import('myfile') and return dict(var=var) all be
OK.

But with many controllers I'll be have duplicated code and risk get an
error if I forget add var to the returned dictionary.

On 26 янв, 19:22, Massimo Di Pierro <massimo.dipie...@gmail.com>
wrote:
> Not sure I undestand

Reply via email to