Re: int() argument must be a string or a number, not 'Model in Form Submit

2012-04-02 Thread Daniel França
Thanks, that was an stupid mistake. On Mon, Apr 2, 2012 at 11:21 AM, Tom Evans wrote: > 2012/4/2 Daniel França > > > > Hello there, > > I'm trying to create an instance for a model after fill a form, but then > I got this error message when I click in submit: > > > > int() argument must be a st

Re: int() argument must be a string or a number, not 'Model in Form Submit

2012-04-02 Thread Tom Evans
2012/4/2 Daniel França > > Hello there, > I'm trying to create an instance for a model after fill a form, but then I > got this error message when I click in submit: > > int() argument must be a string or a number, not 'Job' > > I've tried to debug this, the instance just before the save action h

int() argument must be a string or a number, not 'Model in Form Submit

2012-04-02 Thread Daniel França
Hello there, I'm trying to create an instance for a model after fill a form, but then I got this error message when I click in submit: int() argument must be a string or a number, not 'Job' I've tried to debug this, the instance just before the save action has all its properties values as None