#33954: NaN can be stored in DecimalField but cannot be retrieved
-------------------------------------+-------------------------------------
     Reporter:  Xabier Bello         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  4.1
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Replying to [comment:1 Claude Paroz]:
 > Django offers both model et form validation. If you insert values
 without using either one, you are on your own and responsible for what you
 insert in the database. I dont' think Django should do more here. To be
 confirmed.

 Yes, we have both model and form validation for `NaN`s. I don't think we
 should do more than that.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33954#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070182d3310f90-d3d1ea5c-071e-499f-8aa3-cba574695275-000000%40eu-central-1.amazonses.com.

Reply via email to