Thanks Adrian.

I actually figured this out when I was coming into work today. Sometimes I 
fire of a "help!" to the list a bit too fast. I'm just getting started 
with django, my confidence will increase with time.

Adrian Holovaty wrote:
> On 7/13/06, Jason Murray <[EMAIL PROTECTED]> wrote:
> 
>>   File "/home/jmurray/prfa/../prfa/standings/models.py", line 88, in __str__
>>     return "%s: %i (%i)" % (self.game.datetime.strftime("%Y-%m-%d"),
>>self.game.away.number, self.away_runs)
>>TypeError: int argument required
> 
> 
> This is happening because at least one of your Result objects has an
> away_runs field with a value of None. The "%i" string formatting
> parameter accepts only integers; if you feed it None, you'll get that
> exact error. Try this at the Python interactive prompt:

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

Reply via email to