django-money

Money fields for Django forms and models.

OTHER License

Downloads
291.4K
Stars
1.6K
Committers
103

Bot releases are hidden (Show)

django-money - Release 3.5.2 Latest Release

Published by benjaoming 6 months ago

django-money - Release 3.5.1

Published by benjaoming 6 months ago

django-money - Release 3.5

Published by benjaoming 6 months ago

django-money - Release 3.4.1

Published by benjaoming 11 months ago

django-money - Release 3.4

Published by benjaoming 12 months ago

django-money - Release 3.3

Published by benjaoming about 1 year ago

Fixed

  • Fix detection of necessary migrations. Note that this means that previously undetected migrations will be detected as of this version #725 (vanschelven)

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

django-money - Release 3.2

Published by Stranger6667 over 1 year ago

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
django-money - Release 3.1

Published by Stranger6667 over 1 year ago

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)
django-money - Release 3.0

Published by benjaoming over 2 years ago

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.
django-money - Release 2.1.1

Published by benjaoming almost 3 years ago

Changed

  • Renamed master branch to main (@benjaoming)

Fixed

  • Make Django REST Framework integration always raise lower-level errors as ValidationError. #601, #637 (@flaeppe)
  • False positives in Migration changes, improvements to MoneyField.deconstruct. #646, #648 (@flaeppe)
django-money - Release 2.1

Published by benjaoming about 3 years ago

Added

  • Add support for Django 3.2. #612

Removed

  • Drop support for Django 1.11, 2.1 and 3.0. #612
  • Drop support for Python 3.5. #612
django-money - Release 2.0.3

Published by Stranger6667 about 3 years ago

Fixed

  • Inconsistent Money._copy_attributes behaviour when non-Money instances are involved. #630 (@tned73)
django-money - Release 2.0.2

Published by Stranger6667 about 3 years ago

Fixed

  • Inconsistent Money._copy_attributes behaviour. #629 @tned73
django-money - Release 2.0.1

Published by Stranger6667 over 3 years ago

Fixed

  • Invalid deprecation warning behavior. #624 (@nerdoc)
django-money - Release 2.0

Published by Stranger6667 over 3 years ago

Added

  • New setting CURRENCY_CODE_MAX_LENGTH configures default max_length for MoneyField and exchange app models.

Changed

  • BREAKING: Update py-moneyed to >=1.2,<2. It uses babel to format Money, which formats it differently than py-moneyed<1. #567 (@antonagestam)

Deprecated

  • Money.decimal_places_display will be removed in django-money 3.0.
  • CURRENCY_DECIMAL_PLACES_DISPLAY will be removed in django-money 3.0.
django-money - Release 1.3.1

Published by Stranger6667 over 3 years ago

Fixed

  • Do not mutate the input moneyed.Money class to djmoney.money.Money in MoneyField.default and F-expressions. #603 (@moser)
django-money - Release 1.3

Published by Stranger6667 almost 4 years ago

Added

  • Improved localization: New setting CURRENCY_DECIMAL_PLACES_DISPLAY configures decimal places to display for each configured currency. #521 (@wearebasti)

Changed

  • Set the default value for models.fields.MoneyField to NOT_PROVIDED. (@tned73)

Fixed

  • Pin pymoneyed<1.0 as it changed the repr output of the Money class. (@Stranger6667)
  • Subtracting Money from moneyed.Money. Regression, introduced in 1.2. #593 (@Stranger6667)
  • Missing the right Money.decimal_places and Money.decimal_places_display values after some arithmetic operations. #595 (@Stranger6667)
django-money - Release 1.2.2

Published by Stranger6667 almost 4 years ago

Fixed

  • Confusing "number-over-money" division behavior by backporting changes from py-moneyed. #586 @wearebasti
  • AttributeError when a Money instance is divided by Money. #585 @niklasb
django-money - Release 1.2.1

Published by Stranger6667 almost 4 years ago

Fixed

  • Aggregation through a proxy model. #583 (@tned73)
django-money -

Published by Stranger6667 almost 4 years ago

Added

  • Django 3.1 support.

Fixed

  • Resulting Money object from arithmetics (add / sub / ...) inherits maximum decimal_places from arguments. #522 (@wearebasti)
  • DeprecationWarning related to the usage of cafile in urlopen. #553 @Stranger6667
Package Rankings
Top 1.45% on Pypi.org
Related Projects