Gaetan de Menten ha scritto: > What's worse (from an upgrade point of view) is that many query > methods are also deprecated (though still present in 0.4), namely > get_by, select, select_by, etc... Most of these should be replaced by > a filter_by() call. For example, MyClass.get_by(name="test") would > become MyClass.query.filter_by(name="test").first() >
You mean MyClass.query().filter_by... While I am all for switching the world to 0.4 ASAP, supporting both the old and new release means the TG source will not be able to use the new API. Declaring a minimum compatible 3.x release of SA would be really helpful. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

