chore: remove unused imports
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ from django.conf import settings
|
|||||||
from django.urls import reverse
|
from django.urls import reverse
|
||||||
|
|
||||||
from shop.exceptions import RedsysPaymentException
|
from shop.exceptions import RedsysPaymentException
|
||||||
from shop.models import Order, Payment
|
from shop.models import Order
|
||||||
from shop.settings import TransactionTypes
|
from shop.settings import TransactionTypes
|
||||||
from shop.utils import compute_signature, decode_b64_dict
|
from shop.utils import compute_signature, decode_b64_dict
|
||||||
|
|
||||||
|
|||||||
@@ -226,8 +226,6 @@ CURRENCY_CODES = {
|
|||||||
"991": "RAND FINANCIER ZAL",
|
"991": "RAND FINANCIER ZAL",
|
||||||
}
|
}
|
||||||
|
|
||||||
REVERSE_CURRENCY_CODES = {v: k for k, v in CURRENCY_CODES.items()}
|
|
||||||
|
|
||||||
ERROR_CODES = {
|
ERROR_CODES = {
|
||||||
"10000": _("Error no tipificado"),
|
"10000": _("Error no tipificado"),
|
||||||
"0900": _("Transacción autorizada para devoluciones y confirmaciones"),
|
"0900": _("Transacción autorizada para devoluciones y confirmaciones"),
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ from django.utils.text import gettext_lazy as _
|
|||||||
from shop.exceptions import RedsysPaymentException, RedsysValidationException
|
from shop.exceptions import RedsysPaymentException, RedsysValidationException
|
||||||
from shop.models import (
|
from shop.models import (
|
||||||
Cart,
|
Cart,
|
||||||
CustomerAddress,
|
|
||||||
Order,
|
Order,
|
||||||
OrderLine,
|
OrderLine,
|
||||||
Payment,
|
Payment,
|
||||||
|
|||||||
Reference in New Issue
Block a user