On Tue, 2008-12-09 at 16:12 -0800, Chr1s wrote:
> 
> ValueError at /vote/add/
> 
> invalid literal for int() with base 10: 'AA'
> 
> Request Method:       POST
> Request URL:  http://localhost:8000/vote/add/
> Exception Type:       ValueError
> Exception Value:
> 
> invalid literal for int() with base 10: 'AA'

So it sounds like you're trying to save a string into an integer field.
Please show a short fragment of your view code that shows what you are
trying to do that causes this.

Also, when you're pasting a traceback, please, please, please click on
the "switch to cut-and-paste" view link on the debug page and paste that
version. It's a few hundred lines shorter (and, yes, I realise it's not
obvious that that line *is* a link -- it's a bit of a design wart, in my
opinion -- but it  is there).

Regards,
Malcolm



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