Christoph Zwerschke wrote:

> Ajit Abraham schrieb:
>> I got stuck at the __str__ method.

> No, it does not go to the RootController class in your controller.py, 
> but to the SQLObject class Team in your model.py (as the tutorial says).
Thanks. Got it working.
I quote the tutorial

"
When, programming, it's best to follow the maxim, "Don't Repeat 
Yourself". Instead, we'll tell the Team object how to display itself
by adding a string-izing method to the class
"

and then the __str__ method is given.
It did not specify to put that method in model.py. That's were I got stuck!
By the way, this does not excuse me - I *should* have paid a bit more 
attention on the word *Team Object*!

Thanks, Christoph.

> Please next time post a link to the tutorial page in question so people 
> can answer more easily.

I will do that.

Sincerely,

_Ajit Abraham


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