mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Used isort to order all import statements
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from django.apps import AppConfig
|
||||
from django.utils.functional import cached_property
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from pretix.base.plugins import PluginType
|
||||
|
||||
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
from collections import OrderedDict
|
||||
import json
|
||||
import logging
|
||||
from collections import OrderedDict
|
||||
|
||||
import stripe
|
||||
from django import forms
|
||||
from django.contrib import messages
|
||||
from django.template.loader import get_template
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from django import forms
|
||||
|
||||
from pretix.base.models import Quota
|
||||
from pretix.base.payment import BasePaymentProvider
|
||||
from pretix.base.services.orders import mark_order_paid
|
||||
from pretix.helpers.urls import build_absolute_uri
|
||||
import stripe
|
||||
from pretix.base.payment import BasePaymentProvider
|
||||
|
||||
|
||||
logger = logging.getLogger('pretix.plugins.stripe')
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ from django.template import Context
|
||||
from django.template.loader import get_template
|
||||
|
||||
from pretix.base.signals import register_payment_providers
|
||||
|
||||
from pretix.presale.signals import html_head
|
||||
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
from django.conf.urls import url, include
|
||||
from django.conf.urls import include, url
|
||||
|
||||
from .views import webhook
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^stripe/', include([
|
||||
url(r'^webhook/$', webhook, name='webhook'),
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
import json
|
||||
import logging
|
||||
|
||||
import stripe
|
||||
from django.http import HttpResponse
|
||||
from django.views.decorators.csrf import csrf_exempt
|
||||
from django.views.decorators.http import require_POST
|
||||
from pretix.base.models import Order, Event
|
||||
from pretix.plugins.stripe.payment import Stripe
|
||||
import stripe
|
||||
|
||||
from pretix.base.models import Event, Order
|
||||
from pretix.plugins.stripe.payment import Stripe
|
||||
|
||||
logger = logging.getLogger('pretix.plugins.stripe')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user