Skip to content

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

Import unicode literals

Marcin Gębala2e8e7a5095c3
diff --git a/saleor/dashboard/customer/forms.py b/saleor/dashboard/customer/forms.py
index 13da7439e9..7126013100 100644
--- a/saleor/dashboard/customer/forms.py
+++ b/saleor/dashboard/customer/forms.py
@@ -1,3 +1,5 @@
+from __future__ import unicode_literals
+
from django import forms
from django.db.models import Q
from django.utils.translation import ugettext_lazy as _
diff --git a/saleor/dashboard/customer/views.py b/saleor/dashboard/customer/views.py
index ae6622e83e..b6c9ba665e 100644
--- a/saleor/dashboard/customer/views.py
+++ b/saleor/dashboard/customer/views.py
@@ -1,3 +1,5 @@
+from __future__ import unicode_literals
+
from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger
from django.db.models import Count, Max
from django.shortcuts import get_object_or_404
diff --git a/saleor/dashboard/order/forms.py b/saleor/dashboard/order/forms.py
index ff8c59ce87..3021b49abc 100644
--- a/saleor/dashboard/order/forms.py
+++ b/saleor/dashboard/order/forms.py
@@ -1,3 +1,5 @@
+from __future__ import unicode_literals
+
from django import forms
from django.utils.translation import ugettext_lazy as _
from satchless.item import InsufficientStock
diff --git a/saleor/dashboard/order/views.py b/saleor/dashboard/order/views.py
index 97842edb3f..d5fdba819d 100644
--- a/saleor/dashboard/order/views.py
+++ b/saleor/dashboard/order/views.py
@@ -1,3 +1,5 @@
+from __future__ import unicode_literals
+
from django.contrib import messages
from django.core.context_processors import csrf
from django.shortcuts import get_object_or_404, redirect
diff --git a/saleor/dashboard/product/forms.py b/saleor/dashboard/product/forms.py
index a2e17fc252..1d6229faec 100644
--- a/saleor/dashboard/product/forms.py
+++ b/saleor/dashboard/product/forms.py
@@ -1,3 +1,5 @@
+from __future__ import unicode_literals
+
from django import forms
from django.forms.models import inlineformset_factory
from django.forms.widgets import ClearableFileInput
diff --git a/saleor/dashboard/product/views.py b/saleor/dashboard/product/views.py
index 3b29927ac9..42bdad7f4d 100644
--- a/saleor/dashboard/product/views.py
+++ b/saleor/dashboard/product/views.py
@@ -1,3 +1,5 @@
+from __future__ import unicode_literals
+
from django.contrib import messages
from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger
from django.core.urlresolvers import reverse_lazy