Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Relative imports of saleor components
Anna Siwik5c9a680810d9
diff --git a/saleor/order/utils.py b/saleor/order/utils.pyindex 20d5ba3d61..d377b30946 100644--- a/saleor/order/utils.py+++ b/saleor/order/utils.py@@ -7,7 +7,7 @@ from django.utils.translation import pgettext_lazyfrom prices import Pricefrom satchless.item import InsufficientStock-from saleor.product.utils import allocate_stock, deallocate_stock+from ..product.utils import allocate_stock, deallocate_stockfrom ..userprofile.utils import store_user_addressfrom . import GroupStatusdiff --git a/saleor/registration/forms.py b/saleor/registration/forms.pyindex 41dcdb708a..43744ad6e9 100644--- a/saleor/registration/forms.py+++ b/saleor/registration/forms.py@@ -5,7 +5,7 @@ from django.urls import reversefrom django.utils.translation import pgettext, pgettext_lazyfrom templated_email import send_templated_mail-from saleor.userprofile.models import User+from ..userprofile.models import Userclass LoginForm(django_forms.AuthenticationForm):diff --git a/saleor/registration/views.py b/saleor/registration/views.pyindex 80248a4dea..cf03197270 100644--- a/saleor/registration/views.py+++ b/saleor/registration/views.py@@ -7,8 +7,7 @@ from django.template.response import TemplateResponsefrom django.urls import reverse_lazyfrom django.utils.translation import ugettext_lazy as _-from saleor.cart.utils import find_and_assign_anonymous_cart-+from ..cart.utils import find_and_assign_anonymous_cartfrom .forms import LoginForm, PasswordSetUpForm, SignupForm