On Wed, Feb 25, 2009 at 6:45 AM, Mark Ramm <[email protected]> wrote: > >> Is it possible to mix both? > > Yes. > > You can use both in the same model. You can also explicitly declare > mappers on declarative style classes. >
How would you do that? Unfortunately most examples out on sqlalchemy are for mapper. Thanks, Lucas >> That is, can we define a declarative_base >> class and still use the advanced mapping features some way? If not, I >> am afraid many projects as they grow, might have to be migrated back >> to mapper style. In this case, whether declarative_base needs to be >> the encouraged in quickstart and Wiki20 might need be reassessed. >> After all, TG's unique strength lies in handling complex projects, >> unlike Django or RoR. >> >> thanks, >> Sanjay >> >> > >> > > > > -- > Mark Ramm-Christensen > email: mark at compoundthinking dot com > blog: www.compoundthinking.com/blog > > > > -- How to create python package? http://lucasmanual.com/mywiki/PythonPaste Bazaar and Launchpad http://lucasmanual.com/mywiki/Bazaar --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

