On 2/27/07, Michael Petroni <[EMAIL PROTECTED]> wrote: > > hi all, > > i'm just new to turbogears and have a question that may be answered > easyly by one who knows turbogears better than me. > > when i create a project with identity support (tg 1.0.1), the model > designer of the toolbox does not see the intially created model. even > worse, when i create some model there and generate the code for it, the > old model information for identity support (user, group, permission, > etc.) is lost. >
with the current model designer it's not possible since it was created to be a GUI tool that will output the code, in fact the save to file was added later as a commodity. > is there a way to reverse engineer the model from the model.py into the > model designer or at least to start over with a model such as it is > initially created by a project with identity support? > if you don't need to modify the identity classes then just save them to another file and then merge both. overall I guess that redoing them is not that huge work, annoying but not a lot of work. in fact it could be a good idea to write up the default identity model and provide it as a sample, I'll make you a deal if you make it and post it on a ticket I'll make sure it's included in the next release so you can build on top of it from any TG instalation. > thx to all, > > rg. > michael > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

