From 0d201e89558458527ad0dc7f412825a37f1e9044 Mon Sep 17 00:00:00 2001 From: Martin Gross Date: Fri, 22 Sep 2023 14:57:42 +0200 Subject: [PATCH] License header; isort --- src/pretix/base/views/applepay.py | 21 +++++++++++++++++++++ src/pretix/urls.py | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/src/pretix/base/views/applepay.py b/src/pretix/base/views/applepay.py index e1e480fdf7..768a53d440 100644 --- a/src/pretix/base/views/applepay.py +++ b/src/pretix/base/views/applepay.py @@ -1,3 +1,24 @@ +# +# This file is part of pretix (Community Edition). +# +# Copyright (C) 2014-2020 Raphael Michel and contributors +# Copyright (C) 2020-2021 rami.io GmbH and contributors +# +# This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General +# Public License as published by the Free Software Foundation in version 3 of the License. +# +# ADDITIONAL TERMS APPLY: Pursuant to Section 7 of the GNU Affero General Public License, additional terms are +# applicable granting you additional permissions and placing additional restrictions on your usage of this software. +# Please refer to the pretix LICENSE file to obtain the full terms applicable to this work. If you did not receive +# this file, see . +# +# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. +# +# You should have received a copy of the GNU Affero General Public License along with this program. If not, see +# . +# from django.http import Http404, HttpResponse from pretix.base.settings import GlobalSettingsObject diff --git a/src/pretix/urls.py b/src/pretix/urls.py index c577ca5792..f058e069e4 100644 --- a/src/pretix/urls.py +++ b/src/pretix/urls.py @@ -38,7 +38,7 @@ from django.views.generic import RedirectView import pretix.control.urls import pretix.presale.urls -from pretix.base.views import js_helpers, applepay +from pretix.base.views import applepay, js_helpers from .base.views import ( cachedfiles, csp, health, js_catalog, metrics, redirect, source,