Browse files

Import the stripe module before using

  • Loading branch information...
1 parent a6dd292 commit a25bf4fc101674ef57097370ec13cf928085f96c @darkpixel darkpixel committed May 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 shop_stripe/
@@ -6,11 +6,11 @@
from django.http import HttpResponseRedirect
from shop.util.decorators import on_method, shop_login_required
from django.forms.forms import DeclarativeFieldsMetaclass
-from django.http import (HttpResponseBadRequest, HttpResponse,
- HttpResponseRedirect)
+from django.http import HttpResponseBadRequest, HttpResponse, HttpResponseRedirect
from django.template import RequestContext
from django.shortcuts import render_to_response
from shop_stripe.forms import CardForm
+import stripe
class ConfigError(Exception):
def __init__(self, value):

0 comments on commit a25bf4f

Please sign in to comment.