Django-money

Latest version: v3.5.3

Safety actively analyzes 675368 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 12

1.2.2

---------------------

**Fixed**

- Confusing "number-over-money" division behavior by backporting changes from ``py-moneyed``. :github-issue:`586` (:github-user:`wearebasti`)
- ``AttributeError`` when a ``Money`` instance is divided by ``Money``. :github-issue:`585` (:github-user:`niklasb`)

1.2.1

---------------------

**Fixed**

- Aggregation through a proxy model. :github-issue:`583` (:github-user:`tned73`)

1.2

-------------------

**Fixed**

- Resulting Money object from arithmetics (add / sub / ...) inherits maximum decimal_places from arguments :github-issue:`522` (:github-user:`wearebasti`)
- ``DeprecationWarning`` related to the usage of ``cafile`` in ``urlopen``. :github-issue:`553` (:github-user:`Stranger6667`)

**Added**

- Django 3.1 support

1.1

-------------------

**Fixed**

- Optimize money operations on MoneyField instances with the same currencies. :github-issue:`541` (:github-user:`horpto`)

**Added**

- Support for ``Money`` type in ``QuerySet.bulk_update()`` :github-issue:`534` (:github-user:`satels`)

1.0

-------------------

**Added**

- Support for money descriptor customization. (:github-user:`Stranger6667`)
- Fix ``order_by()`` not returning money-compatible queryset :github-issue:`519` (:github-user:`lieryan`)
- Django 3.0 support

**Removed**

- Support for Django 1.8 & 2.0. (:github-user:`Stranger6667`)
- Support for Python 2.7. :github-issue:`515` (:github-user:`benjaoming`)
- Support for Python 3.4. (:github-user:`Stranger6667`)
- ``MoneyPatched``, use ``djmoney.money.Money`` instead. (:github-user:`Stranger6667`)

**Fixed**

- Support instances with ``decimal_places=0`` :github-issue:`509` (:github-user:`fara`)

0.15.1

----------------------

**Fixed**

- Respect field ``decimal_places`` when instantiating ``Money`` object from field db values. :github-issue:`501` (:github-user:`astutejoe`)
- Restored linting in CI tests (:github-user:`benjaoming`)

Page 4 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.