The form is a ModelForm, where the fields involved, all of them are
DecimalField()


On Jan 29, 9:03 am, Chris McComas <[email protected]> wrote:
> Changed my view to this:
>
> http://dpaste.com/152061/
>
> This is the full error message:
>
> http://dpaste.com/152060/
>
> The first three numbers, math_rawscore, science_rawscore, and
> socsci_rawscore are GPAs, like 4.0, 3.47, etc. The second two numbers
> pcat_rawscore and pcatessay_rawscore are whole numbers like 40 or 4
>
> On Jan 29, 8:43 am, rebus_ <[email protected]> wrote:
>
>
>
> > On 29 January 2010 14:40, Chris McComas <[email protected]> wrote:> I 
> > have this view with my form:http://dpaste.com/152046/whenI try to
> > > submit the form I'm getting this error: unsupported operand type(s)
> > > for //: 'unicode' and 'int' what did I do wrong?
>
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "Django users" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to 
> > > [email protected].
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/django-users?hl=en.
>
> > Are you sure cogability.* attributes are integers?
>
> > Full error message would also be helpfull.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
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