armstrong/armstrong.apps.donations — pull request #4 by tswicegood (2012-02-06 19:52:42+00:00)
Title: Tweaks and tests

Adjusts the code a bit more to make it slightly more sane and adds a few tests. All of the tests were handled via integration tests, but now they're also handled explicitly.

* `PromoCode` now takes any object with an `amount`
* `DonorAddressFormset` now requires a `Donor` object on save and takes care of setting the various address fields.