Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix types import and GraphQL schema module
Marcin Gębala79d74f0f682c
diff --git a/saleor/graphql/query.py b/saleor/graphql/query.pyindex 57f40c8492..c05707ae59 100644--- a/saleor/graphql/query.py+++ b/saleor/graphql/query.py@@ -5,6 +5,7 @@ from graphene import relayfrom graphene_django.debug import DjangoDebugfrom ..product.models import Category, Product+from .product_schema import CategoryType, ProductType, ProductVariantTypeclass ProductQuery(graphene.AbstractType):diff --git a/saleor/settings.py b/saleor/settings.pyindex 9460bbc257..5b8d267d5e 100644--- a/saleor/settings.py+++ b/saleor/settings.py@@ -353,7 +353,7 @@ else:GRAPHENE = {- 'SCHEMA': 'saleor.graphql.schema.schema',+ 'SCHEMA': 'saleor.graphql.query.schema','MIDDLEWARE': ['graphene_django.debug.DjangoDebugMiddleware']