Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix import errors
fowczarek1ba13a75682f
diff --git a/saleor/dashboard/discount/forms.py b/saleor/dashboard/discount/forms.pyindex a7cc59194c..9a879b3ea9 100644--- a/saleor/dashboard/discount/forms.py+++ b/saleor/dashboard/discount/forms.py@@ -6,10 +6,10 @@ from django_countries import countriesfrom django_prices.forms import MoneyFieldfrom mptt.forms import TreeNodeMultipleChoiceField+from ...core.utils.promo_code import generate_promo_codefrom ...core.utils.taxes import ZERO_MONEYfrom ...discount import DiscountValueTypefrom ...discount.models import Sale, Voucher-from ...core.utils.promo_code import generate_promo_codefrom ...product.models import Category, Productfrom ..forms import AjaxSelect2MultipleChoiceFielddiff --git a/saleor/graphql/discount/mutations.py b/saleor/graphql/discount/mutations.pyindex 351bed378f..e7a81d029d 100644--- a/saleor/graphql/discount/mutations.py+++ b/saleor/graphql/discount/mutations.py@@ -1,5 +1,5 @@import graphene-from django.core.exceptions import ObjectDoesNotExist, ValidationError+from django.core.exceptions import ValidationErrorfrom ...core.utils.promo_code import generate_promo_code, is_available_promo_codefrom ...discount import modelsdiff --git a/saleor/graphql/giftcard/mutations.py b/saleor/graphql/giftcard/mutations.pyindex 30c466cff7..1490cb8689 100644--- a/saleor/graphql/giftcard/mutations.py+++ b/saleor/graphql/giftcard/mutations.py@@ -1,5 +1,3 @@-from datetime import date-import graphenefrom django.core.exceptions import ObjectDoesNotExist, ValidationError