pydanny/dj-stripe — pull request #39 by audreyr (2013-08-11 10:42:13+00:00)
Title: Decorator refactor with tests

Refactor of the subscription_payment_required() decorator with tests.

Based off of https://github.com/django/django/blob/master/django/contrib/auth/decorators.py.

This code also makes it easier to implement future decorators for various pro account levels.