bmuller / twistar

Twistar is an object-relational mapper (ORM) for Python that uses the Twisted library to provide asynchronous DB interaction.
http://findingscience.com/twistar
Other
132 stars 38 forks source link

Update examples.xhtml #44

Closed ghost closed 11 years ago

ghost commented 11 years ago

I tried to follow this example and realized that it doesn't work properly because I'm getting "table users does not exists" when saving a record. So registering each model is necessary, right?

bmuller commented 11 years ago

No - you only need to register models if they are used in associations. I think the issue is that you haven't created a table named "users" - which you need to do first.