On 11/3/05, Benoit Masson <[EMAIL PROTECTED]> wrote:
Hi you all, again me and the identity tutorial. Last I get it working and now it's broken again, so I create a brand new prject but still I'm stuck.

Here is the problem, when I add "turbogears.identity.model.somodel" to the sqlobject.txt running the "tg-admin sql create" create the tables for user and so. But then when I get into the tg-admin shell even after "from turbogears.identity.model import *" it refuse to know the User class !! What to do am I stucj with wrong import ? version conflict ? When I run into my site-package from Python/lib I can see the somodel file, the best proof is tg-admin sql create generate the right table from it. But when moving to the shell part it fails :(..                                                                          

Since the identity restructuring, you need to do "from turbogears.identity.model.somodel import *" in the shell.

--
Tim Lesher < [EMAIL PROTECTED]>

Reply via email to