Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Move checkout forms into checkout module

Michal Ociepka0245a4d6d5b3
diff --git a/order/forms.py b/checkout/forms.py
similarity index 98%
rename from order/forms.py
rename to checkout/forms.py
index 65a088dd30..d8f2a37324 100644
--- a/order/forms.py
+++ b/checkout/forms.py
@@ -1,4 +1,4 @@
-from .models import DigitalDeliveryGroup
+from order.models import DigitalDeliveryGroup
from django import forms
from django.core import validators
from django.core.exceptions import ValidationError
diff --git a/checkout/steps.py b/checkout/steps.py
index c97faef8ea..cb99c04477 100644
--- a/checkout/steps.py
+++ b/checkout/steps.py
@@ -1,6 +1,6 @@
from django.core.exceptions import ValidationError
from django.db import models
-from order.forms import ManagementForm, DigitalDeliveryForm, DeliveryForm
+from .forms import ManagementForm, DigitalDeliveryForm, DeliveryForm
from order.models import DigitalDeliveryGroup, ShippedDeliveryGroup
from saleor.utils import BaseStep
from satchless.process import InvalidData