Django-money

Latest version: v3.5.3

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

Scan your dependencies

Page 6 of 12

0.13.5

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

**Fixed**

- Missing in dist, ``djmoney/__init__.py``. :github-issue:`417` (:github-user:`benjaoming`)

0.13.4

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

**Fixed**

- Packaging of ``djmoney.contrib.exchange.management.commands``. :github-issue:`412` (:github-user:`77cc33`, :github-user:`Stranger6667`)

0.13.3

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

**Added**

- Rounding support via ``round`` built-in function on Python 3. (:github-user:`Stranger6667`)

0.13.2

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

**Added**

- Django Admin integration for exchange rates. :github-issue:`392` (:github-user:`Stranger6667`)

**Fixed**

- Exchange rates. TypeError when decoding JSON on Python 3.3-3.5. :github-issue:`399` (:github-user:`kcyeu`)
- Managers patching for models with custom ``Meta.default_manager_name``. :github-issue:`400` (:github-user:`Stranger6667`)

0.13.1

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

**Fixed**

- Regression: Could not run w/o ``django.contrib.exchange`` :github-issue:`388` (:github-user:`Stranger6667`)

0.13

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

**Added**

- Currency exchange :github-issue:`385` (:github-user:`Stranger6667`)

**Removed**

- Support for ``django-money-rates`` :github-issue:`385` (:github-user:`Stranger6667`)
- Deprecated ``Money.__float__`` which is implicitly called on some ``sum()`` operations :github-issue:`347`. (:github-user:`jonashaag`)

Migration from django-money-rates
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The new application is a drop-in replacement for ``django-money-rates``.
To migrate from ``django-money-rates``:

- In ``INSTALLED_APPS`` replace ``djmoney_rates`` with ``djmoney.contrib.exchange``
- Set ``OPEN_EXCHANGE_RATES_APP_ID`` setting with your app id
- Run ``python manage.py migrate``
- Run ``python manage.py update_rates``

For more information, look at ``Working with Exchange Rates`` section in README.

Page 6 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.