[google-appengine] GQL Help
Hi, i want to make the following query but GQL has not OR and i dont know how to do it :( "SELECT * FROM myTable WHERE user1='myUser' OR user2='myUser'" Thanks in advance -- Best Regards. fedekun --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Help: I want to have an app engine space!!
Im from argentina i had the same problem, just fill this form http://appengine.google.com/waitlist/sms_issues 2008/10/8 ajaxer <[EMAIL PROTECTED]> > > I am from china, > but the mobile number I entered didn't work for me > can google manually handler this problem for me? > > chinese developers are eagerly for tasting google app engine. > > but we still have difficulties in using it. > > hope you can help us!! > thanks. > > > > -- Best Regards. fedekun --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: No Cell Phone
They will email you 2008/10/3 Anson Lichtfuss <[EMAIL PROTECTED]> > How will I know? > > > On Fri, Oct 3, 2008 at 11:57 AM, fedekun <[EMAIL PROTECTED]> wrote: > >> Just fill it and they will activate your account in some hours/days >> >> 2008/10/3 AEL21 <[EMAIL PROTECTED]> >> >>> >>> So do I just wait now? Do the reply? what happens now?(sorry, I am >>> totally clules about this stuff) >>> >>> AEL21 >>> >>> On Oct 3, 11:11 am, fedekun <[EMAIL PROTECTED]> wrote: >>> > http://appengine.google.com/waitlist/sms_issuesThat one >>> > >>> > 2008/10/3 AEL21 <[EMAIL PROTECTED]> >>> > >>> > >>> > >>> > >>> > >>> > > which form? there are several there. >>> > >>> > > On Oct 3, 10:31 am, fedekun <[EMAIL PROTECTED]> wrote: >>> > > > Yes there is. >>> http://code.google.com/appengine/kb/sms.html#errorFillthat >>> > > > form >>> > >>> > > > 2008/10/3 David Symonds <[EMAIL PROTECTED]> >>> > >>> > > > > On Fri, Oct 3, 2008 at 11:17 AM, AEL21 < >>> [EMAIL PROTECTED]> >>> > > wrote: >>> > >>> > > > > > How can I get this to work without entering a phone number? I >>> don't >>> > > > > > have a cell phone so I'm not sure how to get past this. >>> > >>> > > > > There is no other way at present. Find a friend or family member >>> who >>> > > > > can receive the single verification message for you. >>> > >>> > > > > Dave. >>> > >>> > > > -- >>> > > > Best Regards. >>> > > > fedekun >>> > >>> > -- >>> > Best Regards. >>> > fedekun >>> >>> >> >> >> -- >> Best Regards. >> fedekun >> >> >> > > > > -- Best Regards. fedekun --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: No Cell Phone
http://appengine.google.com/waitlist/sms_issues That one 2008/10/3 AEL21 <[EMAIL PROTECTED]> > > which form? there are several there. > > On Oct 3, 10:31 am, fedekun <[EMAIL PROTECTED]> wrote: > > Yes there is.http://code.google.com/appengine/kb/sms.html#errorFill that > > form > > > > 2008/10/3 David Symonds <[EMAIL PROTECTED]> > > > > > > > > > On Fri, Oct 3, 2008 at 11:17 AM, AEL21 <[EMAIL PROTECTED]> > wrote: > > > > > > How can I get this to work without entering a phone number? I don't > > > > have a cell phone so I'm not sure how to get past this. > > > > > There is no other way at present. Find a friend or family member who > > > can receive the single verification message for you. > > > > > Dave. > > > > -- > > Best Regards. > > fedekun > > > -- Best Regards. fedekun --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: No Cell Phone
Just fill it and they will activate your account in some hours/days 2008/10/3 AEL21 <[EMAIL PROTECTED]> > > So do I just wait now? Do the reply? what happens now?(sorry, I am > totally clules about this stuff) > > AEL21 > > On Oct 3, 11:11 am, fedekun <[EMAIL PROTECTED]> wrote: > > http://appengine.google.com/waitlist/sms_issuesThat one > > > > 2008/10/3 AEL21 <[EMAIL PROTECTED]> > > > > > > > > > > > > > which form? there are several there. > > > > > On Oct 3, 10:31 am, fedekun <[EMAIL PROTECTED]> wrote: > > > > Yes there is. > http://code.google.com/appengine/kb/sms.html#errorFillthat > > > > form > > > > > > 2008/10/3 David Symonds <[EMAIL PROTECTED]> > > > > > > > On Fri, Oct 3, 2008 at 11:17 AM, AEL21 <[EMAIL PROTECTED] > > > > > wrote: > > > > > > > > How can I get this to work without entering a phone number? I > don't > > > > > > have a cell phone so I'm not sure how to get past this. > > > > > > > There is no other way at present. Find a friend or family member > who > > > > > can receive the single verification message for you. > > > > > > > Dave. > > > > > > -- > > > > Best Regards. > > > > fedekun > > > > -- > > Best Regards. > > fedekun > > > -- Best Regards. fedekun --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: No Cell Phone
Yes there is. http://code.google.com/appengine/kb/sms.html#error Fill that form 2008/10/3 David Symonds <[EMAIL PROTECTED]> > > On Fri, Oct 3, 2008 at 11:17 AM, AEL21 <[EMAIL PROTECTED]> wrote: > > > How can I get this to work without entering a phone number? I don't > > have a cell phone so I'm not sure how to get past this. > > There is no other way at present. Find a friend or family member who > can receive the single verification message for you. > > > Dave. > > > > -- Best Regards. fedekun --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Caching images
Thanks i will try that, now i just added self.response.headers['Cache-Control'] = 'max-age=2592000' That works fine but after some time it loads the images again so i will try that, thanks :) 2008/9/29 Arun Shanker Prasad <[EMAIL PROTECTED]> > > try this > > > http://groups.google.com/group/google-appengine/browse_thread/thread/3c371b19a4a9f365/3e0aff45899d9c1b?hl=en&lnk=gst&q=image+caching#3e0aff45899d9c1b > > On Sep 29, 1:35 am, Davide Rognoni <[EMAIL PROTECTED]> wrote: > > Using the same URL. > > > > "HTTP Caching"http://httpwatch.com/httpgallery/caching/ > > > > This is not a GAE question :-) > > > > On Sep 28, 10:10 pm, fedekun <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > Is there a way to store dynamic images in the browser cache? > > > > > -- > > > Best Regards. > > > fedekun > > > -- Best Regards. fedekun --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Display Blob attribute (image) in template file
You cant display the image itself because it would look like that, instead you create an Image class which reads a key and displays the image as an image with a png header. 2008/9/29 lazer <[EMAIL PROTECTED]> > > Hi, > > I can upload user image by code: > http://code.google.com/appengine/docs/images/usingimages.html#Uploading > > class Guestbook(webapp.RequestHandler): > def post(self): >greeting = Greeting() >if users.get_current_user(): > greeting.author = users.get_current_user() >greeting.content = self.request.get("content") >avatar = self.request.get("img") >greeting.avatar = db.Blob(avatar) >greeting.put() >self.redirect('/') > > And I can display this image by code: > http://code.google.com/appengine/docs/images/usingimages.html#Serving > > class Image (webapp.RequestHandler): > def get(self): >greeting = db.get(self.request.get("img_id")) >if greeting.avatar: > self.response.headers['Content-Type'] = "image/png" > self.response.out.write(greeting.avatar) >else: > self.error(404) > > But I don't know how to display this image using the template html > file. > I try the flowing code: {{ greeting.avatar }} but the > browser display � JFIF� �….. > > Thinks > > > -- Best Regards. fedekun --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Caching images
Is there a way to store dynamic images in the browser cache? -- Best Regards. fedekun --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: app.yaml question
Thanks a lot! 2008/9/27 djidjadji <[EMAIL PROTECTED]> > > To filter you better use the following URL > > www.site.com/user/username > > in app.yaml > - url: /user/.* > script: user.py > > in user.py > > application = webapp.WSGIApplication([('/user/(.*)', Showuser) ], > debug=True) > > Look at this link on how to implement the handler (URL Mapping) > http://code.google.com/appengine/docs/webapp/running.html > > > 2008/9/27 fedekun <[EMAIL PROTECTED]>: > > Well, im not sure if i shall do this with app.yamp or WSGIApplication > > I'm working in something like a social site, so the idea is if you go to > > www.site.com/username it displays some information about that user, but > i > > dont know how to do it :/ > > I'm sorry if i'm spamming with these questions but i have no idea and i > have > > search in the documentation... > > > > Thanks in advance! > > > > -- > > Best Regards. > > fedekun > > > > > > > > > > > -- Best Regards. fedekun --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] app.yaml question
Well, im not sure if i shall do this with app.yamp or WSGIApplication I'm working in something like a social site, so the idea is if you go to www.site.com/username it displays some information about that user, but i dont know how to do it :/ I'm sorry if i'm spamming with these questions but i have no idea and i have search in the documentation... Thanks in advance! -- Best Regards. fedekun --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: static files problem
Aw, ok thanks a lot, i fixed it now :) 2008/9/27 djidjadji <[EMAIL PROTECTED]> > > If you use a file in your application code it CAN NOT be put in a static > folder. > You have to make a separate folder for the templates and not set it to > static. > Static files are NOT accessible for code. > > > > 2008/9/27 fedekun <[EMAIL PROTECTED]>: > > Hi, im having a problem :( > > I have all static files inside stylesheets folder. inside that folder > there > > are some html and css files and 2 more folders. > > when i run > > appcfg.py update myAppFolder/ > > > > it says > > > > TemplateDoesNotExist: index.html > > > > I didnt have that error with the SDK :/ my app.yaml is > > > > handlers: > > - url: /stylesheets > > static_dir: stylesheets > > > > index.html is inside stylesheets folder and to print the template i use > > > > path = os.path.join(os.path.dirname(__file__), 'stylesheets/index.html') > > > > i dont think i have to change to /stylesheets/index.html because i copied > it > > from the guestbook tutorial... > > > > Thanks in advance! > > -- > > Best Regards. > > fedekun > > > > > > > > > > > -- Best Regards. fedekun --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] static files problem
Hi, im having a problem :( I have all static files inside stylesheets folder. inside that folder there are some html and css files and 2 more folders. when i run appcfg.py update myAppFolder/ it says TemplateDoesNotExist: index.html I didnt have that error with the SDK :/ my app.yaml is handlers: - url: /stylesheets static_dir: stylesheets index.html is inside stylesheets folder and to print the template i use path = os.path.join(os.path.dirname(__file__), 'stylesheets/index.html') i dont think i have to change to /stylesheets/index.html because i copied it from the guestbook tutorial... Thanks in advance! -- Best Regards. fedekun --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Only Once per user
Oh, thanks both i will check the pages and try get_or_insert :) 2008/9/26 Rafe <[EMAIL PROTECTED]> > > What you would like to use is: > > result = UserSetting.get_or_insert(key_name='user:%s' % > users.get_current_user(), owner users.get_current_user()) > > > On Sep 26, 6:08 pm, fedekun <[EMAIL PROTECTED]> wrote: > > Hi, i want to save some settings for each user, and the way i'm doing it > so > > far is > > > > title = self.request.get("title") > > > > result = UsersSettings.gql("WHERE owner=:1", > > users.get_current_user().nickname()) > > if result.count() == 0: > > result = UsersSettings() > > > > result.title = title > > result.owner = users.get_current_user().nickname() > > > > db.put(result) > > > > What i want to do is create it if it doesnt exists or else modify it, but > i > > cant figure out why it does not modify it, it creates it but i cannot > modify > > it :( > > -- > > Best Regards. > > fedekun > > > -- Best Regards. fedekun --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Only Once per user
Hi, i want to save some settings for each user, and the way i'm doing it so far is title = self.request.get("title") result = UsersSettings.gql("WHERE owner=:1", users.get_current_user().nickname()) if result.count() == 0: result = UsersSettings() result.title = title result.owner = users.get_current_user().nickname() db.put(result) What i want to do is create it if it doesnt exists or else modify it, but i cant figure out why it does not modify it, it creates it but i cannot modify it :( -- Best Regards. fedekun --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Phone Number Error
Well im from argentina, the code is +54 and my mobile phone company is "movistar" i tried many times but it said error to send it and try again... i read the faq and it said in argentina only "personal" is available, i tried with a friend's phone which is personal but it also didnt work :( --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---