Hi Karl,


On 9/11/06, Karl Guertin <[EMAIL PROTECTED]> wrote:
> AttributeError: No connection has been defined for this thread or
> process
> Any ideas? I am a complete noob to Turbogears and I might just be
> missing something.

From the project root directory start tg-admin shell:
tg-admin shell
# Setup the connection to your database:
In [1]: from turbogears.database import PackageHub
# Import your models - replace <my_proj> with your project name
In [2]: from <my_proj> import model

HTH, Andrew.

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