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 - 1.1

Published by benjaoming over 4 years ago

Fixed

  • Optimize money operations on MoneyField instances with the same currencies. #541 @horpto

Added

  • Support for Money type in QuerySet.bulk_update() #534 @satels
django-money - 1.0

Published by benjaoming almost 5 years ago

Added

  • Support for money descriptor customization. (@Stranger6667)
  • Fix order_by() not returning money-compatible queryset #519 (@lieryan)
  • Django 3.0 support

Removed

  • Support for Django 1.8 & 2.0. (@Stranger6667)
  • Support for Python 2.7. #515 (@benjaoming)
  • Support for Python 3.4. (@Stranger6667)
  • MoneyPatched, use djmoney.money.Money instead. (@Stranger6667)

Fixed

  • Support instances with decimal_places=0 #509 (@fara)
django-money - 0.15

Published by benjaoming over 5 years ago

django-money - 0.14.4

Published by benjaoming almost 6 years ago

django-money - 0.14.3

Published by benjaoming about 6 years ago

Fixed

  • djmoney.forms.widgets.MoneyWidget decompression on Django 2.1+. #443 (@Stranger6667 )
django-money - 0.14.2

Published by benjaoming about 6 years ago

Fixed

  • Validation of djmoney.forms.fields.MoneyField when disabled=True is passed to it. #439 (@stinovlas, @Stranger6667)
django-money - 0.14.1

Published by benjaoming about 6 years ago

Added

  • Support for indirect rates conversion through maximum 1 extra step (when there is no direct conversion rate: converting by means of a third currency for which both source and target currency have conversion rates). #425 (@Stranger6667, @77cc33)

Fixed

  • Error was raised when trying to do a query with a ModelWithNullableCurrency. #427 (@Woile)
django-money - 0.14

Published by benjaoming over 6 years ago

Added

  • Caching of exchange rates. #398 (@Stranger6667)
  • Added support for nullable CurrencyField. #260 (@Stranger6667)

Fixed

  • Same currency conversion getting MissingRate exception #418 (@humrochagf)
  • TypeError during templatetag usage inside a for loop on Django 2.0. #402 (@f213)

Removed

  • Support for Python 3.3 #410 (benjaoming)
  • Deprecated choices argument from djmoney.forms.fields.MoneyField. Use currency_choices instead. (@Stranger6667)
django-money - 0.13.5

Published by benjaoming over 6 years ago

Fixed

  • Missing djmoney main package in dist #417
django-money - 0.13.4

Published by benjaoming over 6 years ago

Fixed

  • Packaging of djmoney.contrib.exchange.management.commands. #412 @77cc33, @Stranger6667
django-money - 0.13.3

Published by benjaoming over 6 years ago

Added

  • Rounding support via round built-in function on Python 3. #391 (@Stranger6667)
django-money - 0.13.2

Published by benjaoming over 6 years ago

Added

  • Django Admin integration for exchange rates. #392 (Stranger6667)

Fixed

  • Exchange rates. TypeError when decoding JSON on Python 3.3-3.5. #399 (kcyeu)
  • Managers patching for models with custom Meta.default_manager_name. #400 (Stranger6667)
django-money - 0.13.1

Published by benjaoming over 6 years ago

Fixed

  • Regression: Could not run w/o django.contrib.exchange #388 (@Stranger6667)
django-money - 0.13

Published by benjaoming over 6 years ago

Added

  • Currency exchange. #385 (@Stranger6667)

Removed

  • Support for django-money-rates. #385 (@Stranger6667)
  • Deprecated Money.__float__ which is implicitly called on some sum() operations #347. (@jonashaag)

See release notes about replacing django-money-rates here:

http://django-money.readthedocs.io/en/stable/changes.html

django-money - 0.12.3

Published by benjaoming almost 7 years ago

Fixed

  • Fixed BaseMoneyValidator with falsy limit values. #371 (@1337)
django-money - 0.12.2

Published by benjaoming almost 7 years ago

Fixed

  • Django master branch compatibility. #361 (@Stranger6667)
  • Fixed get_or_create for models with shared currency. #364 (@Stranger6667)

Changed

  • Removed confusing rounding to integral value in Money.repr. #366 (@Stranger6667, @evenicoulddoit)
django-money - 0.12.1

Published by benjaoming almost 7 years ago

See also: http://django-money.readthedocs.io/en/stable/changes.html

Fixed

  • Fixed migrations on SQLite. #139, #338 (@Stranger6667)
  • Fixed Field.rel.to usage for Django 2.0. #349 (@richardowen)
  • Fixed Django REST Framework behaviour for serializers without *_currency field in serializer’s Meta.fields. #351 (@elcolie, @Stranger6667)
django-money - 0.12

Published by benjaoming almost 7 years ago

See also: http://django-money.readthedocs.io/en/stable/changes.html

Added

  • Ability to specify name for currency field. #195 (@Stranger6667)
  • Validators for MoneyField. #308 (@Stranger6667)

Changed

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

Deprecated

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

Fixed

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

Removed

  • Dropped support for Python 2.6 and 3.2. (@Stranger6667)
  • Dropped support for Django 1.4, 1.5, 1.6, 1.7 and 1.9. (@Stranger6667)
django-money - Release 0.11.4

Published by Stranger6667 over 7 years ago

  • Fixed money parameters processing in update queries. #309
django-money - 0.11.3

Published by benjaoming over 7 years ago

  • Restored support for Django 1.4, 1.5, 1.6, and 1.7 & Python 2.6 #304_ (@Stranger6667)
Package Rankings
Top 1.45% on Pypi.org
Related Projects