styleseat/satchless — pull request #4 by elijahr (2014-09-09 22:09:18+00:00)
Title: Payout optimizations

This PR consists of two optimizations:

* Avoid unnecessary call to `Order.paymentvariant_set.count()` in `Order.paymentvariant`. This allows us to take advantage of prefetched payment variants in the admin payout view.
* Use `.exists()` instead of `.count()` on Order save (minor optimization)

Assigned @greggarson @dlinder