On Thursday 11 January 2007 13:20, Ben Sizer wrote: > [EMAIL PROTECTED] wrote: > > Hi all, > > > > Is there an easy way to add Identity to an existing TG project? I've > > written a LOT of code and am hoping to avoid starting a new project and > > manually updating the model, copying over my code, etc. Thanks in > > advance! > > It seems to me, from previous replies to myself in supposedly simpler > situations, that even trivial alterations to your schema involve > "manually updating the model". Perhaps you can simplify this by > creating an empty new project with Identity enabled, and running a diff > on the relevant model.py and SQL schemas, to see what needs changing.
This isn't entirely true. In case you introduced new objects (and adding identity should do that), this shouldn't cause any problems. Of course you need to copy'n'paste the model classes for identity from e.g. a freshly created project. But beyond that, you're finished. Diez --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

