What about if I wish to initialise the variables inside the class with
a complex calculation?
The default parameter wont suffice, is there any other way?

2009/1/16 djidjadji <djidja...@gmail.com>:
>
> If you look at the example at
>
> http://code.google.com/appengine/docs/python/gettingstarted/usingdatastore.html
>
> you see that you don't write an __init__() method if you subclass from
> db.Model or db.Expando.
> db.Model.__init__() will take care of assigning the correct attributes.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to