Anton Agestam
Anton Agestam
Hi! The XYZ default currency has been removed in py-moneyed 2.0, and so I plan for it to become an import-time error in django-money too to omit a default value...
@alex-way Note that django-money does not yet expose type hints. py-moneyed received support for type hints in v2.0 and support for that was only recently merged: https://github.com/django-money/django-money/pull/638 Because that is...
Btw, unlocking the possibility to add type hints was the entire point of me pushing for the py-moneyed 2.0 upgrade here ;)
Perhaps this is a discussion that needs to happen within py-moneyed, but I think it would be valuable to have a Money class that gives an instantiation error for values...
Further, for such a safe money type, division could be reimagined to return a tuple of a rounded value, together with the rest value. To help in calculating how to...
I don't think it's really clear what your concern is, but importing Dajaxice into your models does not sound like the solution. Could you maybe paste the uncaught error from...
@konradhalas No worries, thank you for merging this. OSS is free work and I have a lot of respect for the time it takes from people's lives. So, thanks again!...
@thclark Sounds good! 👍
> As @mwgamble mentioned, the --mount syntax is no longer valid. I think this was maybe a typo? What he wrote is it's no longer _experimental_.
@erictraut Please note that such usage of None is acknowledged in the original post of this topic. I do hear you that it's not worth spoiling the otherwise simpler syntax...