#32861: DecimalField on sqlite should use numeric instead of decimal type
-------------------------------------+-------------------------------------
     Reporter:  Thiago Bellini       |                    Owner:  nobody
  Ribeiro                            |
         Type:  Uncategorized        |                   Status:  new
    Component:  Database layer       |                  Version:  3.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  sqlite,              |             Triage Stage:
  decimalfield                       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Thiago Bellini Ribeiro):

 Also, note that the documentation here on
 https://docs.djangoproject.com/en/3.2/ref/models/fields/#decimalfield and
 the note regarding sqlite issues on
 https://docs.djangoproject.com/en/3.2/ref/databases/#sqlite-decimal-
 handling specified that Decimal is converted to REAL on sqlite.

 By this note, or either it is wrong or the implementation needs to change
 to really convert it to REAL, since as I described, DECIMAL actually maps
 to NUMERIC and not REAL.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32861#comment:1>
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/068.291c74b2de6b9c1981addfda1016b9fb%40djangoproject.com.

Reply via email to