yes I do that.

Since models are executed alhpabetically one option is to create a
0.py model.

Another is to score the config in a file in private/ and load it from
your models.

Massimo

On Nov 8, 4:31 am, Grahack <[EMAIL PROTECTED]> wrote:
> Thinking about distributing to others the apps I will develop for
> web2py is good (did you notice the future here, I told you I was new,
> enough to not have produced one).
> Good because if forces me to write clean code, design something
> reusable...
>
> But we will all want something slightly different so I'm in a need to
> use configurable items.
> My thoughts last night led me to an app with a simple key-value model
> to store conf items. Maybe a controller and views could let some
> granted folks act on those settings via a web interface.
> This setting apps could host the settings for all the installed apps
> that need it, and thus the web interface would present the whole
> settings on one page, which is quite handy to me.
>
> What do you think?
>
> This 'Base' app could even host the main layout.html view file if we
> can import it from the other apps (see my previous thread).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to