On 5. des. 2005, at 23.35, Jorge Godoy wrote:


"Mike Stephen" <[EMAIL PROTECTED]> writes:

Firstly, I am really enjoying Turbogears, it is such a refreshing way
to work after doing Java webapps!!

:-)

Anyway, I am working with veresion 0.9 from SVN with MySQL on Windows
XP and trying to get the Identity Management stuff working. I followed
Jeff's tutorial and am having a bizarre problem.

I cannot seem to get any TG_* objects into the database using tg-admin
shell. I can get my own model objects in fine. I turned sql debugging
on, and it is issuing the inserts seemingly, and I have run the inserts
it produces manually and then the data goes in fine too. Any ideas?

You probably missed editing you "sqlobject.txt" inside the <project>.egg-info/
and making the first line look something like

db_module=<project>.model, turbogears.identity.model.somodel

Also, is there any way to see the TG_* objects in Catwalk?

I can't answer that.  I haven't tried it. :-)

I'll answer that :) Yes, simply do: 
"""
from turbogears.identity.model.somodel import *
"""
on the top of your models.py file.(restart or start toolbox)

How "supported" this is I don't know - but it works flawlessly.

regards

/rune
-- 
Jorge Godoy      <[EMAIL PROTECTED]>

---------------------------------------------------------------------

Behind the firewall, nobody can hear you scream...


Reply via email to