remove debugger
This commit is contained in:
parent
e33df5173d
commit
41bcdc92d0
3 changed files with 9740 additions and 4 deletions
|
@ -53,7 +53,6 @@ class CreditCardView(View):
|
||||||
stripe_utils = StripeUtils()
|
stripe_utils = StripeUtils()
|
||||||
charge = stripe_utils.make_charge(request.session['amount'],customer=customer.stripe_id)
|
charge = stripe_utils.make_charge(request.session['amount'],customer=customer.stripe_id)
|
||||||
template = 'templates/validated.html'
|
template = 'templates/validated.html'
|
||||||
import ipdb;ipdb.set_trace()
|
|
||||||
context['msg'] = charge.get('status')
|
context['msg'] = charge.get('status')
|
||||||
request.session['next'] = None
|
request.session['next'] = None
|
||||||
return render(request, template, context)
|
return render(request, template, context)
|
||||||
|
@ -122,4 +121,4 @@ class MembershipView(View):
|
||||||
|
|
||||||
def logout_glarus(request):
|
def logout_glarus(request):
|
||||||
logout(request)
|
logout(request)
|
||||||
return HttpResponseRedirect('/digitalglarus')
|
return HttpResponseRedirect('/digitalglarus')
|
||||||
|
|
|
@ -52,8 +52,6 @@ def handleStripeError(f):
|
||||||
return handleProblems
|
return handleProblems
|
||||||
|
|
||||||
|
|
||||||
class StripeUtils(object):
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class StripeUtils(object):
|
class StripeUtils(object):
|
||||||
|
|
9739
wrongdb_dump.last
Normal file
9739
wrongdb_dump.last
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue