Skip to content

Commit

Permalink
Import the stripe module before using
Browse files Browse the repository at this point in the history
  • Loading branch information
darkpixel committed May 5, 2012
1 parent a6dd292 commit a25bf4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shop_stripe/offsite_stripe.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
from django.http import HttpResponseRedirect from django.http import HttpResponseRedirect
from shop.util.decorators import on_method, shop_login_required from shop.util.decorators import on_method, shop_login_required
from django.forms.forms import DeclarativeFieldsMetaclass from django.forms.forms import DeclarativeFieldsMetaclass
from django.http import (HttpResponseBadRequest, HttpResponse, from django.http import HttpResponseBadRequest, HttpResponse, HttpResponseRedirect
HttpResponseRedirect)
from django.template import RequestContext from django.template import RequestContext
from django.shortcuts import render_to_response from django.shortcuts import render_to_response
from shop_stripe.forms import CardForm from shop_stripe.forms import CardForm
import stripe


class ConfigError(Exception): class ConfigError(Exception):
def __init__(self, value): def __init__(self, value):
Expand Down

0 comments on commit a25bf4f

Please sign in to comment.