Changes between Version 1 and Version 2 of Ticket #35982, comment 4


Ignore:
Timestamp:
Dec 7, 2024, 9:12:13 AM (11 days ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35982, comment 4

    v1 v2  
    1 Ok so basically this was never an issue because the core backends PEP249 drivers (`sqlite3`, `psycopg`, `mysqlclient`, and `oracledb`) all support `decimal.Decimal` natively? If this is the case then it means the `utils.format_number` call is likely unnecessary at this point ([https://github.com/django/django/pull/18898 I'll give the suite a run by removing it) otherwise it means a regression test can be written for querying as well without relying on mocking.
     1Ok so basically this was never an issue because the core backends PEP249 drivers (`sqlite3`, `psycopg`, `mysqlclient`, and `oracledb`) all support `decimal.Decimal` natively? If this is the case then it means the `utils.format_number` call is likely unnecessary at this point ([https://github.com/django/django/pull/18898 I'll give the suite a run by removing it]) otherwise it means a regression test can be written for querying as well without relying on mocking.
Back to Top