On 6/8/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:

I managed to get something working with sqlalchemy 0.2.2. Well, mostly
working. Turbogears comes up OK and you can navagate to / and the login
page. The toolbox starts but Catwalk doesn't find anything in the
model.

Catwalk is code to work with sqlobject if  you didn't change anything there it wont work, same for all other toolbox apps.

I'm not 100% sure of what I'm doing so I may be implementing
this all wrong. I'm not using anything more complicated than what is in
the sqlalchemy tutorial...

I ripped out all the activemapper stuff and replaced it with basic
Table and mapper definitions. I create a single Engine, BoundMetaData
and Session instance in database.py and just use them where needed.
(I'm not familiar enough with the internals of TG to know if that is a
bad idea or not. Probably is a bad idea...

why don't you coordinate with Arnar he just posted a similar patch today here on the mailing list.

The big issue, at least for a quickstart project, is that definitions
for User, Group, Permission are mirrored in the model.py and
saprovider.py. I assume this is so that catwalk can find them. I'm not
sure how to resolve that.

again you'll have to edit catwalk, about the tables Arnar says his patch will let make component still work, like identity, if we could do this migration and keep all the tools it will be great





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