From e5929b8f769ec0f546308835da35d9be72673870 Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Fri, 23 Jun 2017 00:15:47 +0530 Subject: [PATCH] Removed call to refresh_from_db as it was wrongly used --- membership/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/membership/models.py b/membership/models.py index e491031e..72b56d3c 100644 --- a/membership/models.py +++ b/membership/models.py @@ -176,7 +176,6 @@ class StripeCustomer(models.Model): return stripe_customer except StripeCustomer.DoesNotExist: - CustomUser.refresh_from_db() user = CustomUser.objects.get(email=email) stripe_utils = StripeUtils() stripe_data = stripe_utils.create_customer(token, email)