Skip to content

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

Merge pull request #1300 from Pacu2/fix/add-missing-unicode-literals-imports

Marcin Gębalaa7922c526c02
diff --cc saleor/dashboard/order/views.py
index 85bf3c76a3,b57e279ce3..f5249357d2
--- a/saleor/dashboard/order/views.py
+++ b/saleor/dashboard/order/views.py
@@@ -25,9 -23,8 +26,8 @@@ from ..order.forms import OrderFilterFo
from ..views import staff_member_required
from ...core.utils import get_paginator_items
from ...order import OrderStatus
-from ...order.models import Order, OrderedItem, OrderNote
+from ...order.models import Order, OrderLine, OrderNote
from ...product.models import ProductVariant
- from ...settings import DASHBOARD_PAGINATE_BY
from ...userprofile.i18n import AddressForm
diff --cc saleor/dashboard/product/views.py
index 978b20b444,913639e95e..9a511d180f
--- a/saleor/dashboard/product/views.py
+++ b/saleor/dashboard/product/views.py
@@@ -1,8 -1,8 +1,9 @@@
from __future__ import unicode_literals
+ from django.conf import settings
from django.contrib import messages
from django.contrib.auth.decorators import permission_required
+from django.db.models import Q
from django.http import JsonResponse
from django.shortcuts import get_object_or_404, redirect
from django.template.response import TemplateResponse
diff --cc tests/test_product.py
index 6cd6850ed8,4f4d7ad335..402332566c
--- a/tests/test_product.py
+++ b/tests/test_product.py
@@@ -1,5 -1,6 +1,7 @@@
+ from __future__ import unicode_literals
+
import datetime
+import json
import pytest
from django.urls import reverse