Changelog

0.11.4 - 2017-06-26

Fixed

0.11.3 - 2017-06-19

Fixed

  • Restored support for Django 1.4, 1.5, 1.6, and 1.7 & Python 2.6 #304 (Stranger6667)

0.11.2 - 2017-05-31

Fixed

0.11.1 - 2017-05-26

Fixed

Removed

0.11 - 2017-05-19

Added

Fixed

0.10.2 - 2017-02-18

Added

Fixed

0.10.1 - 2016-12-26

Fixed

  • Fixed default value for djmoney.forms.fields.MoneyField. #249 (tsouvarev)

0.10 - 2016-12-19

Changed

Fixed

0.9.1 - 2016-08-01

Fixed

  • Fix packaging.

0.9.0 - 2016-07-31

NB! If you are using custom model managers not named objects and you expect them to still work, please read below.

Added

Changed

  • Changed auto conversion of currencies using djmoney_rates (added in 0.7.3) to be off by default. You must now add AUTO_CONVERT_MONEY = True in your settings.py if you want this feature. #199 (spookylukey)
  • Only make objects a MoneyManager instance automatically. #194 and #201 (inureyes)

Fixed

Note about automatic model manager patches

In 0.8, Django-money automatically patches every model managers with MoneyManager. This causes migration problems if two or more managers are used in the same model.

As a side effect, other managers are also finally wrapped with MoneyManager. This effect leads Django migration to point to fields with other managers to MoneyManager, and raises ValueError (MoneyManager only exists as a return of money_manager, not a class-form. However migration procedure tries to find MoneyManager to patch other managers.)

From 0.9, Django-money only patches objects with MoneyManager by default (as documented). To patch other managers (e.g. custom managers), patch them by wrapping with money_manager.

from djmoney.models.managers import money_manager


class BankAccount(models.Model):
    balance = MoneyField(max_digits=10, decimal_places=2, default_currency='USD')
    accounts = money_manager(MyCustomManager())

0.8 - 2016-04-23

Added

Changed

Fixed

0.7.6 - 2016-01-08

Added

  • Added correct paths for py.test discovery. (benjaoming)
  • Mention Django 1.9 in tox.ini. (benjaoming)

Fixed

  • Fix for get_or_create / create manager methods not respecting currency code. (toudi)
  • Fix unit tests. (toudi)
  • Fix for using MoneyField with F expressions when using Django >= 1.8. (toudi)

0.7.5 - 2015-12-22

Fixed

  • Fallback to _meta.fields if _meta.get_fields raises AttributeError #149 (browniebroke)
  • pip instructions updated. (GheloAce)

0.7.4 - 2015-11-02

Added

Fixed

0.7.3 - 2015-10-16

Added

Fixed

  • Fix using Choices for setting currency choices. (benjaoming)
  • Fix tests for Python 2.6. (plumdog)

0.7.2 - 2015-09-01

Fixed

  • Better checks on None values. (tsouvarev, sjdines)
  • Consistency with South declarations and calling str function. (sjdines)

0.7.1 - 2015-08-11

Fixed

  • Fix bug in printing MoneyField. (YAmikep)
  • Added fallback value for current locale getter. (sjdines)

0.7.0 - 2015-06-14

Added

  • Django 1.8 compatibility. (willhcr)

0.6.0 - 2015-05-23

Added

  • Python 3 trove classifier. (dekkers)

Changed

Fixed

0.5.0 - 2014-12-15

Added

  • Django 1.7 compatibility. (w00kie)

Fixed

  • Added choices= to instantiation of currency widget. (davidstockwell)
  • Nullable MoneyField should act as default=None. (jakewins)
  • Fixed bug where a non-required MoneyField threw an exception. (spookylukey)

0.4.2 - 2014-07-31

0.4.1 - 2013-11-28

0.4.0.0 - 2013-11-26

Added

  • Python 3 compatibility.
  • tox tests.
  • Format localization.
  • Template tag money_localize.

0.3.4 - 2013-11-25

0.3.3.2 - 2013-10-31

0.3.3.1 - 2013-10-01

0.3.3 - 2013-02-17

Added

  • South support via implementing the south_triple_field method. (mattions)

Fixed

  • Fixed issues with money widget not passing attrs up to django’s render method, caused id attribute to not be set in html for widgets. (adambregenzer)
  • Fixed issue of default currency not being passed on to widget. (snbuchholz)
  • Return the right default for South. (mattions)
  • Django 1.5 compatibility. (devlocal)

0.3.2 - 2012-11-30

Fixed

  • Fixed issues with display_for_field not detecting fields correctly. (adambregenzer)
  • Added South ignore rule to avoid duplicate currency field when using the frozen ORM. (rach)
  • Disallow override of objects manager if not setting it up with an instance. (rach)

0.3.1 - 2012-10-11

Fixed

  • Fix AttributeError when Model inherit a manager. (rach)
  • Correctly serialize the field. (akumria)

0.3 - 2012-09-30

Added

  • Allow django-money to be specified as read-only in a model. (akumria)
  • South support: Declare default attribute values. (pjdelport)

`0.2`_ - 2012-04-10

  • Initial public release