The "normal" way in web2py is to "template" - that is, any new project is a copy of your "welcome" app; you can modify your welcome app to have what you want new apps to have.
The other alternative is to have an application with these items defined, and to import them (see the way t2 is used); For views, this is a different question - without copying (templating), or linking - I'm not sure what other viable ways would be... - Yarko On Thu, Aug 20, 2009 at 3:23 PM, Fran <[email protected]> wrote: > > On Aug 20, 7:36 pm, ebustalk <[email protected]> wrote: > > I would like to have a central location where all my applications can > > share the same > > -database setting > > -authentication settings > > -global layout file / templates > > What is the recommended way of accomplishing this? > > Symlinks > > i.e. > mkdir global/views > mkdir global/models/db.py > ln -s global/views app1/views > ln -s global/views app2/views > ln -s global/models app1/models > ln -s global/models app2/models > > Shame symlinks aren't available in Windows... > > F > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

