renier a écrit :
> Yes, apparently 0.4 sqlachemy moved that symbol, among others (e.g.
> relation), to the sqlalchemy.orm module.Got around this by modifying
> sqlalchemy/__init__.py to have:
> from sqlalchemy.orm import *
>
> Has been working fine for now.
> Maybe someone should talk about that with the SQAlchemy folks...
>   
I don't think Mike would accept such a change, this namespace change is 
done on purpose.
We definitely don't want to see the whole orm code loaded in the 
namespace each time we use SA. There is a lot of use cases when only the 
sql layer is required.

We are working at the moment to make sure TG is SA 0.4 compatible 
without being SA 0.3.10 incompatible (which means it will be possible 
for people with older applications to just stay with 0.3.10 as long as 
they need to port their code).

This cohabitation will be possible because the SA guys created 0.3.10 in 
such a way that it exposes both the old and the new API.

Cheers,
Florent.

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