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 1 of 12

3.5.3

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

**Fixed**

- django-rest-framework: MoneyField does not work anymore with custom serializer fields :github-issue:`768` (:github-user:`apjama`)

**Added**

- Django 5.1 support :github-issue:`767` (:github-user:`benjaoming`)

3.5.2

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

**Fixed**

- django-rest-framework: Fix regression from 3.5 :github-issue:`762` (:github-user:`dariusmazeika`)

3.5.1

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

**Fixed**

- django-rest-framework: Fix regression from 3.5 :github-issue:`757` (:github-user:`phillipuniverse`)
- Add `base` parameter to openexchangerates.org backend :github-issue:`751` (:github-user:`foarsitter`)

3.5

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

.. important::

If you generated ``MoneyField`` migrations in the previous series 3.4.x, you may have to manually edit subsequent migrations. Please share your successful approaches in :github-issue:`731`.


**Fixed**

- Revert 3.4 patch, meaning that auto-generated CurrencyField is once again part of migrations :github-issue:`731` (:github-user:`benjaoming`)
- django-rest-framework: MinMoneyValidator and MaxMoneyValidator fixed, may require default_currency defined :github-issue:`722` (:github-user:`hosamhamdy258` :github-user:`errietta` :github-user:`benjaoming`)

**Added**

- Django 5.0 support :github-issue:`753` (:github-user:`benjaoming`)

**Removed**

- Official support for Django 2.2, 3.2, 4.0, 4.1 :github-issue:`753` (:github-user:`benjaoming`)

3.4.1

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

**Fixed**

- The default setting for ``CURRENCY_CHOICES`` excluded the currency choice defined by ``DEFAULT_CURRENCY``. :github-issue:`739` (:github-user:`Naggafin`)

3.4

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

.. note::

If you are using Django REST Framework or any other mechanism that relies on a custom serializer,
please note that you now manually have to register the serializer.
See :ref:`this code snippet <index:Note on serialization>`.

**Changed**

- Don't register Django Money serializers by default, instead the user should actively register a serializer in the ``settings.py`` :github-issue:`636` (:github-user:`emorozov`)

Page 1 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.