]> asedeno.scripts.mit.edu Git - bluechips.git/commit
Switch from using Decimal to using a new Currency class
authorEvan Broder <broder@mit.edu>
Fri, 18 Jul 2008 07:51:47 +0000 (07:51 +0000)
committerEvan Broder <broder@mit.edu>
Fri, 18 Jul 2008 07:51:47 +0000 (07:51 +0000)
commit3b864c81e804769f2be45b38c319895d1735aef9
treedeb4f42fd86a2cd7bb618d7997218d96542d37d2
parent9bff8b8b19f3579d1ff654255e98826e7340a40e
Switch from using Decimal to using a new Currency class

 * Include the SmartSubclass metaclass for making an object that is
   itself but acts like something else
 * Derive a Currency class from that
 * Use it EVERYWHERE!
bluechips/controllers/status.py
bluechips/lib/helpers.py
bluechips/lib/subclass.py [new file with mode: 0644]
bluechips/lib/totals.py
bluechips/model/__init__.py
bluechips/model/expenditure.py
bluechips/model/types.py
bluechips/templates/base.mako
bluechips/templates/status/index.mako
bluechips/widgets/__init__.py