On 9/20/07, Greg <[EMAIL PROTECTED]> wrote:
> However, when I view this is the admin I get the following error:
> '__str__ returned non-string (type float)'.  Is there anyway to solve
> this problem?  Do I have to return a string?

Yes. You *must* return a string, because the entire point of __str__
is, well, to return a string.

-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

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