Closed erikkaplun closed 11 years ago
Fixed in pull request https://github.com/bmuller/twistar/pull/31
In 1ccbf5e I added some more clarifying text for afterInit. The idea was that method should be called immediately after an object was instantiated as the result of a DB query - not that it would be called as the direct result of every object construction.
twistar.util.createInstances
is the only place where it's called which meansModel()
does not invokeafterInit
. This is in implicit violation of what the docstring ofDBObject.__init__
says: