GarrettHeel/quark-paste — comment on commit 77a2da82ae007901d1e77ea54001dbe3a01d5b06
File: saic/paste/views.py line 607
By justinvh:

You can probably generalize the method on both Set and Commits to have a property that does the same thing. That way you can arbitrarily pass Commit and Set to the decorator.