Hi,

I split my model.py into multiple files (model/foo.py, model/bar.py,
etc).

Now, when I run

tg-admin shell
create_all()

it says create_all is not defined (and metadata.create_all() does
nothing).

I assume there's something I have to do to make sure that it imports
the model.  But I'm not sure what.

(Also, is there anything else I should do if I split model.py and
controllers.py into multiple files?)

Thanks!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to