Django-money

Latest version: v3.4.1

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

Scan your dependencies

Page 1 of 9

3.4.1

Full Changelog: https://django-money.readthedocs.io/en/latest/changes.html

3.4

Full Changelog: https://django-money.readthedocs.io/en/latest/changes.html

3.3

Fixed

- Fix detection of necessary migrations. Note that this means that previously undetected migrations will be detected as of this version [725](https://github.com/django-money/django-money/issues/725) ([vanschelven](https://github.com/vanschelven))

**Full Changelog**: https://django-money.readthedocs.io/en/latest/changes.html

3.2

Changed

- Explicitly define `id` in `djmoney.contrib.exchange.Rate` model - This ensures that the database table will use `AutoField`
even if `DEFAULT_AUTO_FIELD` is set to `BigAutoField` in the Django project's settings. 716

Fixed

- Downgrade `asgiref` to 3.6 to work with pypy3

3.1

Added

- Python 3.11 support 700 (sdarmofal)
- Django 4.2 support 700 (sdarmofal)
- Pyright support for .pyi files 686 (karolyi)
- Support for `Coalesce` 678 (stianjensen)

Fixed

- Support for `Money` type with `Coalesce` in `QuerySet.update()` 678 (stianjensen)
- pre-commit config for moved flake8 repo (sdarmofal)
- Use latest setup-python GitHub Action 692 (sondrelg)
- Optimize: Rate is always 1 if source and target are equal 689 (nschlemm)
- Fixer.io backend: Avoid 403 errors 681 (spaut33)

3.0

Changed

- Update py-moneyed to 2.0. 638
- Remove the deprecated `Money.decimal_places_display` property and argument. 638
- Remove the deprecated `CURRENCY_DECIMAL_PLACES_DISPLAY` setting. 638
- Null constraint on an implicit `CurrencyField` is now declared from `null=...` argument to `MoneyField`. 638

Fixed

- Improve the internal check for whether a currency is provided 657
- Fix test suite for django main branch 657
- `MoneyField` raises `TypeError` when default contains a valid amount but no currence, i.e. `Money(123, None)`. 661
- `MoneyField` supports default of type `bytes` 661

Added

- Add support for Django 4.0 and 4.1.
- Add support for Python 3.10.

Removed

- Drop support for Django 3.1.
- Drop support for Python 3.6.

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.