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

0.12.3

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

**Fixed**

- Fixed ``BaseMoneyValidator`` with falsy limit values. :github-issue:`371` (:github-user:`1337`)

0.12.2

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

**Fixed**

- Django master branch compatibility. :github-issue:`361` (:github-user:`Stranger6667`)
- Fixed ``get_or_create`` for models with shared currency. :github-issue:`364` (:github-user:`Stranger6667`)

**Changed**

- Removed confusing rounding to integral value in ``Money.__repr__``. :github-issue:`366` (:github-user:`Stranger6667`, :github-user:`evenicoulddoit`)

0.12.1

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

**Fixed**

- Fixed migrations on SQLite. :github-issue:`139`, :github-issue:`338` (:github-user:`Stranger6667`)
- Fixed ``Field.rel.to`` usage for Django 2.0. :github-issue:`349` (:github-user:`richardowen`)
- Fixed Django REST Framework behaviour for serializers without ``*_currency`` field in serializer's ``Meta.fields``. :github-issue:`351` (:github-user:`elcolie`, :github-user:`Stranger6667`)

0.12

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

**Added**

- Ability to specify name for currency field. :github-issue:`195` (:github-user:`Stranger6667`)
- Validators for ``MoneyField``. :github-issue:`308` (:github-user:`Stranger6667`)

**Changed**

- Improved ``Money`` support. Now ``django-money`` fully relies on ``pymoneyed`` localization everywhere, including Django admin. :github-issue:`276` (:github-user:`Stranger6667`)
- Implement ``__html__`` method. If used in Django templates, an ``Money`` object's amount and currency are now separated with non-breaking space (`` ``) :github-issue:`337` (:github-user:`jonashaag`)

**Deprecated**

- ``djmoney.models.fields.MoneyPatched`` and ``moneyed.Money`` are deprecated. Use ``djmoney.money.Money`` instead.

**Fixed**

- Fixed model field validation. :github-issue:`308` (:github-user:`Stranger6667`).
- Fixed managers caching for Django >= 1.10. :github-issue:`318` (:github-user:`Stranger6667`).
- Fixed ``F`` expressions support for ``in`` lookups. :github-issue:`321` (:github-user:`Stranger6667`).
- Fixed money comprehension on querysets. :github-issue:`331` (:github-user:`Stranger6667`, :github-user:`jaavii1988`).
- Fixed errors in Django Admin integration. :github-issue:`334` (:github-user:`Stranger6667`, :github-user:`adi-`).

**Removed**

- Dropped support for Python 2.6 and 3.2. (:github-user:`Stranger6667`)
- Dropped support for Django 1.4, 1.5, 1.6, 1.7 and 1.9. (:github-user:`Stranger6667`)

0.11.4

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

**Fixed**

- Fixed money parameters processing in update queries. :github-issue:`309` (:github-user:`Stranger6667`)

0.11.3

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

**Fixed**

- Restored support for Django 1.4, 1.5, 1.6, and 1.7 & Python 2.6 :github-issue:`304` (:github-user:`Stranger6667`)

Page 7 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.