Re: (newbie) Access variables in *.ini from templates

2007-03-23 Thread [EMAIL PROTECTED]
Thanks, that worked perfectly! On 21 Mar, 15:46, Alexandre CONRAD <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Simply, is there an easy way for me to store the google maps API key > > as a string in the development.ini/production.ini files that will be > > easily accessible from my t

Re: (newbie) Access variables in *.ini from templates

2007-03-21 Thread Alexandre CONRAD
[EMAIL PROTECTED] wrote: > Simply, is there an easy way for me to store the google maps API key > as a string in the development.ini/production.ini files that will be > easily accessible from my templates? You can access the paste configuration from a dict available from: request.environ["pas

(newbie) Access variables in *.ini from templates

2007-03-21 Thread [EMAIL PROTECTED]
I'm quite a newbie to Pylons so I'm not sure if this belongs here or in some Paste group... I'm developing an app using the Google Maps API, and they require I have a different API key for each different URL. Since my development and production servers are on different URLs they have different ke