import user
as well as
from user import User
When I run tg-admin create sql, I'm getting:
...
No classes found!
No modules specified
No packages specified
Looked in eqqs: a2
The Getting Starting guide talks about being able to import into
model.py, but I'm having a heck of a time actually doing it.
-- Garrett
>From the SQLObject docs:
"""When finding SQLObject classes, we look in the modules for classes
that belong to the module -- so if you import a class from another
module it won't be "matched". You have to indicate its original
module."""
So, I added the modules to the egg info in sqlobjects.txt:
db_modules=foo.bar,baz.bam
and tq-admin sql create was able to find them.