I´m also pretty new to Turbogears and all this rapid-web-dev-stuff.

Because of my experience during the first steps I recommend  you to
write your first models by hand because you can easily be confused by
all the options the designer has, which are not all self-explaining.

read the docs of SQLObject in deep and make the first steps on your
own.

maybe even not within a TG project but just write a *.py importing the
sqlobject trying to figure out everything on the command line and your
favorite database - unless you don´t know *exactly* what you want and
need.

afterwards port it into a turbogears project.

just a tipp from newbie to newbie.

Regards, Frank




On 28 Feb., 08:09, "Jorge Vargas" <[EMAIL PROTECTED]> wrote:
> 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- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to