- update to 3.5.2:
* django-rest-framework: Fix regression from 3.5
* If you generated MoneyField migrations in the previous series
3.4.x, you may have to manually edit subsequent migrations.
* Revert 3.4 patch, meaning that auto-generated CurrencyField
is once again part of migrations
* django-rest-framework: MinMoneyValidator and
MaxMoneyValidator fixed, may require default_currency defined
* Django 5.0 support
OBS-URL: https://build.opensuse.org/request/show/1184011
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-money?expand=0&rev=9
* django-rest-framework: Fix regression from 3.5
* If you generated MoneyField migrations in the previous series
3.4.x, you may have to manually edit subsequent migrations.
* Revert 3.4 patch, meaning that auto-generated CurrencyField
is once again part of migrations
* django-rest-framework: MinMoneyValidator and
MaxMoneyValidator fixed, may require default_currency defined
* Django 5.0 support
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-money?expand=0&rev=17
- update to 3.4.1:
* The default setting for ``CURRENCY_CHOICES`` excluded the
currency choice defined by ``DEFAULT_CURRENCY``.
* Don't register Django Money serializers by default, instead
the user should actively register a serializer in the
``settings.py``
* Fix detection of necessary migrations. Note that this means
that previously undetected migrations will be detected as of
this version
* New setting CURRENCY_DECIMAL_PLACES_DISPLAY configures decimal
OBS-URL: https://build.opensuse.org/request/show/1135252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-money?expand=0&rev=8
* The default setting for ``CURRENCY_CHOICES`` excluded the
currency choice defined by ``DEFAULT_CURRENCY``.
* Don't register Django Money serializers by default, instead
the user should actively register a serializer in the
``settings.py``
* Fix detection of necessary migrations. Note that this means
that previously undetected migrations will be detected as of
this version
* New setting CURRENCY_DECIMAL_PLACES_DISPLAY configures decimal
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-money?expand=0&rev=15
- Update to 3.0:
- Changed
- Update py-moneyed to 2.0.
- Remove the deprecated Money.decimal_places_display property
and argument.
- Remove the deprecated CURRENCY_DECIMAL_PLACES_DISPLAY
setting.
- Null constraint on an implicit CurrencyField is now
declared from null=... argument to MoneyField.
- Fixed
- Improve the internal check for whether a currency is
provided
- Fix test suite for django main branch
- MoneyField raises TypeError when default contains a valid
amount but no currence, i.e. Money(123, None).
- MoneyField supports default of type bytes
- 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.
- Remove upstreamed patches:
- merged_pr_657.patch
- pr_638.patch
OBS-URL: https://build.opensuse.org/request/show/1071154
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-money?expand=0&rev=7
- Changed
- Update py-moneyed to 2.0.
- Remove the deprecated Money.decimal_places_display property
and argument.
- Remove the deprecated CURRENCY_DECIMAL_PLACES_DISPLAY
setting.
- Null constraint on an implicit CurrencyField is now
declared from null=... argument to MoneyField.
- Fixed
- Improve the internal check for whether a currency is
provided
- Fix test suite for django main branch
- MoneyField raises TypeError when default contains a valid
amount but no currence, i.e. Money(123, None).
- MoneyField supports default of type bytes
- 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.
- Remove upstreamed patches:
- merged_pr_657.patch
- pr_638.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-money?expand=0&rev=13