This is nothing with integer.
2009/6/8 Ian Lewis <[email protected]> > Yes, but using key names avoids the problem of not being able to set the > key that is inherent with integer keys right? > > 2009/6/8 Tom Wu <[email protected]> > > Hi Ian, >> >> You can backup the real parent model and child model with >> ReferenceProperty to local development server or another gae app. >> And restore to original app, then you will find out the ReferenceProperty( >> db.key) will be a problem. >> >> >> Best Regards >> Tom Wu >> >> >> >> 2009/6/8 Ian Lewis <[email protected]> >> >>> Is there a particular reason you need to do something like this? >>> ReferenceProperty should work whether you use an integer or key_name as the >>> key to your entities. >>> >>> On Mon, Jun 8, 2009 at 9:09 AM, Tom Wu <[email protected]> wrote: >>> >>>> Thanks Chris. >>>> >>>> This is what I need. You the Man. >>>> >>>> Have this run in GAE instead of local development server ? >>>> >>>> >>>> Best Regards >>>> Tom Wu >>>> >>>> >>>> 2009/6/8 Chris Tan <[email protected]> >>>> >>>> >>>>> I wrote some custom properties awhile back which may help: >>>>> >>>>> http://gist.github.com/109193 >>>>> >>>>> They are untested, so proceed with caution. >>>>> >>>>> On Jun 7, 12:29 am, Tom Wu <[email protected]> wrote: >>>>> > Hi All, >>>>> > >>>>> > Since the db.key is auto generate by system. We can't assign the >>>>> value of >>>>> > db.key. >>>>> > >>>>> > If ReferenceProperty can reference with key_name, it will make easier >>>>> for us >>>>> > to backup and restore the Reference model. >>>>> > >>>>> > Just a idea for me, Any suggestion will be appreciated. >>>>> > >>>>> > Best Regards >>>>> > Tom Wu >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> -- >>> ======================================= >>> 株式会社ビープラウド イアン・ルイス >>> 〒150-0012 >>> 東京都渋谷区広尾1-11-2アイオス広尾ビル604 >>> email: [email protected] >>> TEL:03-5795-2707 >>> FAX:03-5795-2708 >>> http://www.beproud.jp/ >>> ======================================= >>> >>> >>> >>> >> >> >> > > > -- > ======================================= > 株式会社ビープラウド イアン・ルイス > 〒150-0012 > 東京都渋谷区広尾1-11-2アイオス広尾ビル604 > email: [email protected] > TEL:03-5795-2707 > FAX:03-5795-2708 > http://www.beproud.jp/ > ======================================= > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
