Ok, i solved everything!
The mistake was in the way I was importing my modules: i was doing it
like "import <modulename>", while i had to do it like "from
<modulename> import *" even if i don't understand why.

Thanks for your help

On 1 Dic, 17:33, "Adam Jones" <[EMAIL PROTECTED]> wrote:
> flyingfrog wrote:
> > Thanks Adam, but i can't understand where did i go wrong. I just
> > imported my classes in model.py, and copyed the db file into turbogears
> > but when i run tg-admin toolbox catwalk is empty!If you run tg-admin shell 
> > are you able to access the SO classes you are
> importing? This might be due to the way catwalk looks at your model.
> (I'm just guessing here, not that familiar with catwalk) See the
> section "shell -- manipulate your database with ease" on this page if
> you need help:http://docs.turbogears.org/1.0/TgAdmin
>
> Also, if you could post your model.py from TG and the section of your
> config file where you are specifying the database connection that might
> give us some clues.
> 
> -Adam


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