app.yaml is skipped during upload.

if you define your own skip_file entry, app.yaml should be uploaded
and you can read it like any other file.

http://code.google.com/appengine/docs/python/config/appconfig.html#Skipping_Files

2009/8/28 Sylvain <[email protected]>:
>
> I think it is not possible, app.yaml is not uploaded in the same
> directory than your app.
>
> Maybe you can duplicated this file app.yaml -> settings.yaml, then it
> will be uploaded in the same dir and you could use the yaml lib to
> read it.
>
> Regards
>
>
> On 27 août, 19:47, TC <[email protected]> wrote:
>> Is it possible to access the data in your app.yaml file from your app?
>> (Not the file, but is the data loaded into the code anywhere).
>> For example, I am looking to access the handlers with the login
>> property set to required so that I do not have to repeat some sort of
>> variable in the code because this is inconvenient to maintain. I need
>> to force someone to actually register with the site once signed in
>> with a google account but login:required would still let them view the
>> page without registering so I need to access the urls.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to