+1

Completely agree with you. Maybe a "library of simple TG2.0 apps to help the 
programmers understand quicker tg would be useful.

I started created a small application in tg2 just as an example and would be 
happy to contribute, once the "save" problem in Wiki20 is solved.



e moment I am stuck with the SQLAlchemy based relations. I want
to build simple one-to-many relationship (think User-Addresses for
example) and I can't get how to do that. Wiki20 tutorial doesn't touch
it and SQLAlchemy tutorial at 
http://www.sqlalchemy.org/docs/05/ormtutorial.html#building-a-relation
seems to be based on a functionality not yet supported (not
recommended?) by TG yet. I was able to find some topics about similar
things in this group, but it looks like TG and SQLAlchemy evolve
faster, than tutorials and discussions :)

Could anybody, please, post a simple one to many model example?
Something that would allow accessing addresses e.g. via the following:
>>> jack = User('jack')
>>> jack.addresses
[]


Best regards,
Artem.


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