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

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.


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