fred schrieb: > I've used Python a lot and sqlobject and turbogears a little. I'm > just now looking into the --identity option (with MySQL) and am > impressed. > > I would like to have the same database and therefore model definitions > across multiple projects without cutting and pasting the appropriate > identity tables into each model.py. > > Does anyone know if it's possible to import the identity tables into > the application's model.py using something like... > > from MyIdentityTables import User, Group, .... > > assuming of course that MyIdentityTables are on the default PYTHONPATH.
Should work. It would have been less time to try than to write this post though :) 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 -~----------~----~----~----~------~----~------~--~---

