[google-appengine] Re: logging level

2009-03-14 Thread Bastian Hoyer


you can just do somthing like that in your main application file:


def main():
logging.getLogger().setLevel(logging.DEBUG)
run_wsgi_app(application)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Twitter - rate limit exceeded

2009-03-13 Thread Bastian Hoyer

You could host one script on an other server that works as a proxy for
your requests to twitter.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Requests going twice

2009-03-10 Thread Bastian Hoyer

Are you using firefox with addons ? Some addons (like the javascript
library detector) add a second request to do their work.. so perhaps
try using a different browser to make sure it's not browser related.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Converting model objects to JSON

2009-03-08 Thread Bastian Hoyer



On 7 Mrz., 23:23, Let Delete My Apps  wrote:

> results = []
> for app in apps:
>     results.append({"appname" : app.appname})
>

just a small tip.. you can write this as

results = [ {"appname": app.appname} for app in apps ]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Access remote MySQL database

2009-02-27 Thread Bastian Hoyer

not directly.. you can only use http requests on port 80 or 443 (ssl)

The only thing you can do is add a php script on your server that acts
as a proxy for your app.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---