From 73dc7990709c0b24dfa3883162f66014e5566d5b Mon Sep 17 00:00:00 2001 From: Dino Perovic Date: Wed, 18 Sep 2024 21:10:07 +0200 Subject: [PATCH] update advance example file --- example/shop/payment/advance.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/example/shop/payment/advance.py b/example/shop/payment/advance.py index 1dbafba..c1e1d7c 100644 --- a/example/shop/payment/advance.py +++ b/example/shop/payment/advance.py @@ -2,7 +2,9 @@ from django.urls import reverse from salesman.checkout.payment import PaymentMethod -from shop.models import Order +from salesman.core.utils import get_salesman_model + +Order = get_salesman_model("Order") class PayInAdvance(PaymentMethod):