On Tuesday 29 Jan 2008, Tim Chase wrote:
> your __str__ returns a function...you omitted the call to that
> function:
>
>   def __str__(self):
>     return self.name()

Ah - knew it would be obvious.  Thanks.  Simple typo on my part, I've just 
split the name field in two, so it used to be a property.

On Tuesday 29 Jan 2008, Krzysztof Ciesielski wrote:
> No problem, but better read Dive into python first :D

I read the O'Reilly python book ages ago...am rusty!  

I'm a java developer really, experimenting with something better.  Er, I'll 
get my coat...

Tim.

                

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to