Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Use text-unidecode instead of unidecode
Adam Bogdał951a791594f5
diff --git a/requirements.in b/requirements.inindex adcb20d09a..5848e8280b 100644--- a/requirements.in+++ b/requirements.in@@ -37,5 +37,5 @@ pytest>=2.8.0pytest-djangorequests>=1.2.0satchless>=1.1.2,<1.2a0-unidecode+text-unidecodeuwsgi>=2.0.0diff --git a/requirements.txt b/requirements.txtindex b7f40b2862..dae7ef0e55 100644--- a/requirements.txt+++ b/requirements.txt@@ -78,7 +78,7 @@ six==1.10.0 # via cryptography, fake-factory, graphene, graphene-dtyping==3.5.2.2 # via promisestripe==1.46.0 # via django-paymentssuds-jurko==0.6 # via django-payments-unidecode==0.4.20+text-unidecode==1.0urllib3==1.19.1 # via elasticsearchuwsgi==2.0.14xmltodict==0.10.2 # via django-paymentsdiff --git a/saleor/dashboard/category/forms.py b/saleor/dashboard/category/forms.pyindex b5783ce934..03194fd268 100644--- a/saleor/dashboard/category/forms.py+++ b/saleor/dashboard/category/forms.py@@ -1,7 +1,7 @@from django import formsfrom django.shortcuts import get_object_or_404from django.utils.text import slugify-from unidecode import unidecode+from text_unidecode import unidecodefrom ...product.models import Categorydiff --git a/saleor/product/models/base.py b/saleor/product/models/base.pyindex 7e7ebdc215..3eff9a2281 100644--- a/saleor/product/models/base.py+++ b/saleor/product/models/base.py@@ -17,7 +17,7 @@ from django_prices.models import PriceFieldfrom mptt.managers import TreeManagerfrom mptt.models import MPTTModelfrom satchless.item import InsufficientStock, Item, ItemRange-from unidecode import unidecode+from text_unidecode import unidecodefrom ...discount.models import get_variant_discountsfrom .fields import WeightField