Hi, 'collection_name' is a property of the ReferenceProperty class. You can't have a collection_name if you don't have a reference property.
-Nick Johnson On Mon, Apr 18, 2011 at 2:04 AM, saintthor <[email protected]> wrote: > class LTMean( db.Expando ): #Expando > Info = db.TextProperty() > > def NewMean( k, v ): > newMean = LTMean() > setattr( newMean, k, LTMean( key_name = v ).key() ) > newMean.put() > > ============== > how to set the collection_name? > > -- > 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. > > -- Nick Johnson, Developer Programs Engineer, App Engine -- 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.
