We are writing an application that requires users to have accounts with balances in dollars and points. Is there a pluggable django app already out there that will help us?
+3
A:
There is an app called python-money. It has some code to define a MoneyField in Django models, but our initial experiments with it showed some problems so we just switched to using regular DecimalField.
DecimalField is intended for currencies and I think this is best for your case as well because it doesn't sound like you need to maintain balances in multiple currencies.
Edit: Responding to additional requirements where transactions, account management etc. are needed.
Try minibooks, especially taking notice of their Ledger models.
If this doesn't work I think you'll have to step outside of Django and try to incorporate something like OpenERP or Tryton (an OpenERP fork) into your Django app.
Van Gale
2009-03-04 23:16:37
We need transaction histories. So we need more than just a new type for currency amounts. For example, we need something like a Transaction model, an CurrencyType model, and an Account model.
Michael
2009-03-04 23:43:04