just drop the settings.py in the models directory and that's it. you
can make it quick(er) and read only if you wrap it in a cache.ram
entity, other than that, there is no special procedure needed for
settings.

On Mar 27, 8:55 am, Anand Vaidya <anandvaidya...@gmail.com> wrote:
> I would like to read a file (myapp_settings.cfg or myapp_settings.py)
> which contains various application related settings which are not
> expected to change frequently, when web2py is started and keep the
> variables read always around (in memory). Make it read only if
> possible. I'd like all apps to be able to read these variables and use
> them.
>
> I'm not using any SQL db , so I cannot store it there.
>
> I'm sure this can be done, but just couldn't figure out how. Please
> help.
--~--~---------~--~----~------------~-------~--~----~
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