you have various options.
You can define functions in modules and import the modules.
You can use the function exec_environment.

This is discussed in various threads on this list.

Massimo

On Dec 23, 1:40 pm, mike <michal...@gmail.com> wrote:
> What about reusing functions from other applications.
>
> On Dec 23, 2:06 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > you can
>
> > {{extend '../../otherapp/views/layout.html'}}
>
> > but I suggest copying the layout else the apps will not be portable.
>
> > Massimo
>
> > On Dec 23, 12:41 pm, mike <michal...@gmail.com> wrote:
>
> > > Whats the best practice in having multiple applications using same
> > > layout template.
>
> > > since we are one the subject, is there a possibility of having one
> > > application use functions from other applications.  If so whats the
> > > best practice in doing so?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to