[google-appengine] Re: Using __key__ and SearchableModel

2009-06-12 Thread Antoniov
The following code may help, or you could extends your own class from SearchableModel. class SearchableModel2(db.Model): class Query(db.Query): """A subclass of db.Query that supports full text search.""" def __int__(self, model_class, key_only): is_key_only = key_only

[google-appengine] Re: Using __key__ and SearchableModel

2009-06-11 Thread Antoniov
SELECT [* | __key__ ] FROM [WHERE [AND ...]] [ORDER BY [ASC | DESC] [, [ASC | DESC] ...]] [LIMIT [,]] [OFFSET ] [HINT (ORDER_FIRST | HINT FILTER_FIRST | HINT ANCESTOR_FIRST)] Is this what you're looking for? On 6月12日, 上午7时09分, acuth wrote: > Hi everyone, > > just caugh

[google-appengine] Re: Re-orgranize user data: w or w/o view?

2009-06-11 Thread Antoniov
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 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

[google-appengine] Re: why there is no way to build a key id?

2009-06-11 Thread Antoniov
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 wrote: > Does anyone know why it is possible to build a key name but N

[google-appengine] Re: Naked domains and Network Solutions

2009-06-11 Thread Antoniov
On 6月12日, 上午8时01分, Bemmu 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 consul