[google-appengine] Re: Naked domains and Network Solutions
On 6月12日, 上午8时01分, Bemmu bemmu@gmail.com wrote: tells me that Web Forwarding cannot point to its parent domain I didn't see how this could happen, what you did was fowarding a parent domain to a child domain, NOT backwards. Did you try to foward fi.bemmu.com to bemmu.com? If not, you should consult Network Solutions for answers. --~--~-~--~~~---~--~~ 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: Re-orgranize user data: w or w/o view?
Just password protect it, or use a cron job. App Engine Console could be helpful too. http://con.appspot.com On 6月12日, 上午9时03分, mclovin hanoo...@gmail.com wrote: I wrote up a prototype for an application in python and was porting it over to django/app_engine. One of the main routines of my program though is that it goes in and modifies user data. I know I probably shouldn't write a view for this because nothing is being viewed (it is entirely backend) so I am wondering how do i call a function to modify data in the datastore w/o a view or w/o going to a URL. Or is it fine just to use a view? thanks --~--~-~--~~~---~--~~ 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: why there is no way to build a key id?
Use the code: s = Story(key_name=xzy123) Then you create an entity with the key name xzy123. Check this: http://code.google.com/intl/en-US/appengine/docs/python/datastore/keysandentitygroups.html On 6月12日, 上午1时28分, cryb cbuti...@gmail.com wrote: Does anyone know why it is possible to build a key name but NOT a key id? I know key IDs are used as autoincrements, but why can't I just override this mechanism and build my own key id? Suppose I want to overwrite an existent entry in my table that has a key id I know, and also I want to keep that key id after update... because I can't just build a key id, I am forced to fetch that entity, modify it and write it back, instead of just write the updated entity with the key id I already know - so an additional read to the datastore. Is there an obscure reason for that? (both key names and key ids are prefixed with appid/kind as far as I know so there is no chance of collision with other apps/kinds) --~--~-~--~~~---~--~~ 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: Using __key__ and SearchableModel
SELECT [* | __key__ ] FROM entity [WHERE condition [AND condition ...]] [ORDER BY property [ASC | DESC] [, property [ASC | DESC] ...]] [LIMIT [offset,]count] [OFFSET offset] [HINT (ORDER_FIRST | HINT FILTER_FIRST | HINT ANCESTOR_FIRST)] Is this what you're looking for? On 6月12日, 上午7时09分, acuth adrian.cuthb...@gmail.com wrote: Hi everyone, just caught up with one of those Google IO videos about developing apps on GAE. I was already using separated out index-blocks so that I could restrict what was indexed for SearchableModel. Now I just want to return the keys rather than the object themselves. Does anybody know if it is possible to return just the keys - as per SELECT __KEY__ or Query(keys_only=True) - on queries/searches using the SearchableModel class, for example: from google.appengine.ext import search class ItemIB(search.SearchableModel): name = db.StringProperty() # search for items with name that matches q, but returns entire ItemIB query = ItemIB.all().search(q) # try replacing Model.all() with db.Query(Model) doesn't work query = db.Query(ItemIB,keys_only=True).search(q) Any help very gratefully received, Adrian --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---