Django-money

Latest version: v3.5.3

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

Scan your dependencies

Page 8 of 12

0.11.2

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

**Fixed**

- Fixed field lookup regression. :github-issue:`300` (:github-user:`lmdsp`, :github-user:`Stranger6667`)

0.11.1

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

**Fixed**

- Fixed access to models properties. :github-issue:`297` (:github-user:`mithrilstar`, :github-user:`Stranger6667`)

**Removed**

- Dropped support for Python 2.6. (:github-user:`Stranger6667`)
- Dropped support for Django < 1.8. (:github-user:`Stranger6667`)

0.11

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

**Added**

- An ability to set custom currency choices via ``CURRENCY_CHOICES`` settings option. :github-issue:`211` (:github-user:`Stranger6667`, :github-user:`ChessSpider`)

**Fixed**

- Fixed ``AttributeError`` in ``get_or_create`` when the model have no default. :github-issue:`268` (:github-user:`Stranger6667`, :github-user:`lobziik`)
- Fixed ``UnicodeEncodeError`` in string representation of ``MoneyPatched`` on Python 2. :github-issue:`272` (:github-user:`Stranger6667`)
- Fixed various displaying errors in Django Admin . :github-issue:`232`, :github-issue:`220`, :github-issue:`196`, :github-issue:`102`, :github-issue:`90` (:github-user:`Stranger6667`,
:github-user:`arthurk`, :github-user:`mstarostik`, :github-user:`eriktelepovsky`, :github-user:`jplehmann`, :github-user:`graik`, :github-user:`benjaoming`, :github-user:`k8n`, :github-user:`yellow-sky`)
- Fixed non-Money values support for ``in`` lookup. :github-issue:`278` (:github-user:`Stranger6667`)
- Fixed available lookups with removing of needless lookup check. :github-issue:`277` (:github-user:`Stranger6667`)
- Fixed compatibility with ``py-moneyed``. (:github-user:`Stranger6667`)
- Fixed ignored currency value in Django REST Framework integration. :github-issue:`292` (:github-user:`gonzalobf`)

0.10.2

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

**Added**

- Added ability to configure decimal places output. :github-issue:`154`, :github-issue:`251` (:github-user:`ivanchenkodmitry`)

**Fixed**

- Fixed handling of ``defaults`` keyword argument in ``get_or_create`` method. :github-issue:`257` (:github-user:`kjagiello`)
- Fixed handling of currency fields lookups in ``get_or_create`` method. :github-issue:`258` (:github-user:`Stranger6667`)
- Fixed ``PendingDeprecationWarning`` during form initialization. :github-issue:`262` (:github-user:`Stranger6667`, :github-user:`spookylukey`)
- Fixed handling of ``F`` expressions which involve non-Money fields. :github-issue:`265` (:github-user:`Stranger6667`)

0.10.1

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

**Fixed**

- Fixed default value for ``djmoney.forms.fields.MoneyField``. :github-issue:`249` (:github-user:`tsouvarev`)

0.10

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

**Changed**

- Do not fail comparisons because of different currency. Just return ``False`` :github-issue:`225` (:github-user:`benjaoming` and :github-user:`ivirabyan`)

**Fixed**

- Fixed ``understands_money`` behaviour. Now it can be used as a decorator :github-issue:`215` (:github-user:`Stranger6667`)
- Fixed: Not possible to revert MoneyField currency back to default :github-issue:`221` (:github-user:`benjaoming`)
- Fixed invalid ``creation_counter`` handling. :github-issue:`235` (:github-user:`msgre` and :github-user:`Stranger6667`)
- Fixed broken field resolving. :github-issue:`241` (:github-user:`Stranger6667`)

Page 8 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.