Re: [Django] #11411: DecimalField and NaN

2009-07-01 Thread Django
#11411: DecimalField and NaN
--+-
  Reporter:  kovali...@gmail.com  | Owner:  nobody  
Status:  closed   | Milestone:  1.0.3   
 Component:  Forms|   Version:  1.0 
Resolution:  duplicate|  Keywords:  DecimalField,NaN
 Stage:  Unreviewed   | Has_patch:  1   
Needs_docs:  0|   Needs_tests:  0   
Needs_better_patch:  0|  
--+-
Changes (by ramiro):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => duplicate
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 duplicate of #

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #11411: DecimalField and NaN

2009-07-01 Thread Django
#11411: DecimalField and NaN
-+--
 Reporter:  kovali...@gmail.com  |   Owner:  nobody
   Status:  new  |   Milestone:  1.0.3 
Component:  Forms| Version:  1.0   
 Keywords:  DecimalField,NaN |   Stage:  Unreviewed
Has_patch:  1|  
-+--
 When save form with DecimalField which has NaN value I get exception:
 {{{
 Exception Type: TypeError
 Exception Value:bad operand type for abs(): 'str'
 Exception Location: /var/lib/python-
 support/python2.6/django/forms/fields.py in clean, line 254
 }}}

 Because clean method of DecimalField doesn't check that value can be
 'NaN'.

 I use django 1.0.2.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---