Created
February 23, 2016 13:20
-
-
Save alexphelps/0fb2b295bcd8f43146d9 to your computer and use it in GitHub Desktop.
DJ Stripe Callback Settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# settings.py | |
def account_request_callback(request): | |
return Account.objects.get(id=request.account_id) | |
DJSTRIPE_SUBSCRIBER_MODEL_REQUEST_CALLBACK = account_request_callback |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment