[SciPy-User] TypeError

Waléria Antunes David waleriantunes@gmail....
Thu Oct 21 05:22:35 CDT 2010

Hi all,

I have this code: http://pastebin.com/nDrisnhZ
and my forms.py: http://pastebin.com/wHEErcQx

But is ocurring this error:

TypeError at /index/

unsupported operand type(s) for ** or pow(): 'Decimal' and 'float'

 Request Method: POST  Request URL: http://localhost:8000/index/  Exception
Type: TypeError  Exception Value:

unsupported operand type(s) for ** or pow(): 'Decimal' and 'float'

 Exception Location: C:\supernovas_Ia\..\supernovas_Ia\supernovas\views.py
in index, line 19

How do i fix this?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20101021/1e18dd95/attachment.html 

More information about the SciPy-User mailing list