Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Revert "Use gettext_lazy"
Marcin Gębala51daf17e9130
diff --git a/saleor/dashboard/customer/forms.py b/saleor/dashboard/customer/forms.pyindex 5406d9fd8b..7126013100 100644--- a/saleor/dashboard/customer/forms.py+++ b/saleor/dashboard/customer/forms.py@@ -2,7 +2,7 @@ from __future__ import unicode_literalsfrom django import formsfrom django.db.models import Q-from django.utils.translation import gettext_lazy as _+from django.utils.translation import ugettext_lazy as _class CustomerSearchForm(forms.Form):diff --git a/saleor/dashboard/customer/views.py b/saleor/dashboard/customer/views.pyindex 8b2cd75772..b6c9ba665e 100644--- a/saleor/dashboard/customer/views.py+++ b/saleor/dashboard/customer/views.py@@ -4,7 +4,7 @@ from django.core.paginator import Paginator, EmptyPage, PageNotAnIntegerfrom django.db.models import Count, Maxfrom django.shortcuts import get_object_or_404from django.template.response import TemplateResponse-from django.utils.translation import gettext_lazy as _+from django.utils.translation import ugettext_lazy as _from .forms import CustomerSearchFormfrom ..views import staff_member_requireddiff --git a/saleor/dashboard/order/forms.py b/saleor/dashboard/order/forms.pyindex 34d2eadff5..3021b49abc 100644--- a/saleor/dashboard/order/forms.py+++ b/saleor/dashboard/order/forms.py@@ -1,7 +1,7 @@from __future__ import unicode_literalsfrom django import forms-from django.utils.translation import gettext_lazy as _+from django.utils.translation import ugettext_lazy as _from satchless.item import InsufficientStockfrom ...cart.forms import QuantityFielddiff --git a/saleor/dashboard/order/views.py b/saleor/dashboard/order/views.pyindex 149c7bfbc6..d5fdba819d 100644--- a/saleor/dashboard/order/views.py+++ b/saleor/dashboard/order/views.py@@ -4,7 +4,7 @@ from django.contrib import messagesfrom django.core.context_processors import csrffrom django.shortcuts import get_object_or_404, redirectfrom django.template.response import TemplateResponse-from django.utils.translation import gettext_lazy as _+from django.utils.translation import ugettext_lazy as _from django.views.generic import ListViewfrom payments import PaymentErrorfrom prices import Pricediff --git a/saleor/dashboard/product/views.py b/saleor/dashboard/product/views.pyindex 3dc427661f..42bdad7f4d 100644--- a/saleor/dashboard/product/views.py+++ b/saleor/dashboard/product/views.py@@ -5,7 +5,7 @@ from django.core.paginator import Paginator, EmptyPage, PageNotAnIntegerfrom django.core.urlresolvers import reverse_lazyfrom django.shortcuts import get_object_or_404, redirectfrom django.template.response import TemplateResponse-from django.utils.translation import gettext_lazy as _+from django.utils.translation import ugettext_lazy as _from django.views.generic import DeleteViewfrom ...product.models import Product