Are you using soclasses to control your build order?  If so, you need
to make sure your submodels get added to the one defined in model.py.
See below for how I do it, without having to tweak sqlobject.txt.

Admittedly, this two import solution is a bit of a hack, but I prefer
it to sqlobject.txt because what's happening is a little more visible.
Of course, YMMV:

# Import the tables from the submodels.
from submodels.changerequest import *

# These imports are just for the soClasses.
#   soClasses needs to be extended for each submodel
from submodels import changerequest

# These tables are defined in my models.py
soClasses = ("Person", "Groups", "Permission", "Visit",
"VisitIdentity")

soClasses += (changerequest.soClasses)


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

Reply via email to