Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove unnecessary whitespaces
Anna Siwikacabf869d299
diff --git a/saleor/dashboard/category/views.py b/saleor/dashboard/category/views.pyindex 2e962ffe02..aaa85f9319 100644--- a/saleor/dashboard/category/views.py+++ b/saleor/dashboard/category/views.py@@ -26,7 +26,7 @@ def category_list(request):'Filter set results summary','Found %(counter)d matching category','Found %(counter)d matching categories',- 'counter') % {'counter': category_filter.qs.count() }+ 'counter') % {'counter': category_filter.qs.count()}ctx = {'categories': categories, 'filter': category_filter,'is_empty': not category_filter.queryset.exists(),@@ -99,7 +99,7 @@ def category_detail(request, pk):'Filter set results summary','Found %(counter)d matching subcategory','Found %(counter)d matching subcategories',- 'counter') % {'counter': category_filter.qs.count() }+ 'counter') % {'counter': category_filter.qs.count()}ctx = {'categories': categories, 'path': path, 'root': root,'filter': category_filter, 'summary_msg': summary_msg,'is_empty': not category_filter.queryset.exists()}diff --git a/saleor/dashboard/customer/views.py b/saleor/dashboard/customer/views.pyindex 7a2e1d2628..23abac50ab 100644--- a/saleor/dashboard/customer/views.py+++ b/saleor/dashboard/customer/views.py@@ -28,7 +28,7 @@ def customer_list(request):'Filter set results summary','Found %(counter)d matching customer','Found %(counter)d matching customers',- 'counter') % {'counter': customer_filter.qs.count() }+ 'counter') % {'counter': customer_filter.qs.count()}ctx = {'customers': customers, 'filter': customer_filter,'is_empty': not customer_filter.queryset.exists(),diff --git a/saleor/dashboard/discount/views.py b/saleor/dashboard/discount/views.pyindex aa6aa535c9..e73721e1b4 100644--- a/saleor/dashboard/discount/views.py+++ b/saleor/dashboard/discount/views.py@@ -24,7 +24,7 @@ def sale_list(request):'Filter set results summary','Found %(counter)d matching sale','Found %(counter)d matching sales',- 'counter') % {'counter': sale_filter.qs.count() }+ 'counter') % {'counter': sale_filter.qs.count()}ctx = {'sales': sales, 'filter': sale_filter,'is_empty': not sale_filter.queryset.exists(),@@ -76,7 +76,7 @@ def voucher_list(request):'Filter set results summary','Found %(counter)d matching voucher','Found %(counter)d matching vouchers',- 'counter') % {'counter': voucher_filter.qs.count() }+ 'counter') % {'counter': voucher_filter.qs.count()}ctx = {'vouchers': vouchers, 'filter': voucher_filter,'is_empty': not voucher_filter.queryset.exists(),diff --git a/saleor/dashboard/group/views.py b/saleor/dashboard/group/views.pyindex e4c866194f..dcaaa99d15 100644--- a/saleor/dashboard/group/views.py+++ b/saleor/dashboard/group/views.py@@ -26,7 +26,7 @@ def group_list(request):'Filter set results summary','Found %(counter)d matching group','Found %(counter)d matching groups',- 'counter') % {'counter': group_filter.qs.count() }+ 'counter') % {'counter': group_filter.qs.count()}ctx = {'groups': groups, 'filter': group_filter,'is_empty': not group_filter.queryset.exists(),diff --git a/saleor/dashboard/order/views.py b/saleor/dashboard/order/views.pyindex 6494dc5204..8d6db7fdc7 100644--- a/saleor/dashboard/order/views.py+++ b/saleor/dashboard/order/views.py@@ -41,7 +41,7 @@ def order_list(request):'Filter set results summary','Found %(counter)d matching product','Found %(counter)d matching products',- 'counter') % {'counter': order_filter.qs.count() }+ 'counter') % {'counter': order_filter.qs.count()}ctx = {'orders': orders, 'filter': order_filter,'is_empty': not order_filter.queryset.exists(),diff --git a/saleor/dashboard/product/views.py b/saleor/dashboard/product/views.pyindex 4d9d3248f8..b8e589739c 100644--- a/saleor/dashboard/product/views.py+++ b/saleor/dashboard/product/views.py@@ -38,7 +38,7 @@ def product_class_list(request):'Filter set results summary','Found %(counter)d matching product type','Found %(counter)d matching product types',- 'counter') % {'counter': class_filter.qs.count() }+ 'counter') % {'counter': class_filter.qs.count()}classes.object_list = [(pc.pk, pc.name, pc.has_variants, pc.product_attributes.all(),pc.variant_attributes.all())@@ -127,7 +127,7 @@ def product_list(request):'Filter set results summary','Found %(counter)d matching product','Found %(counter)d matching products',- 'counter') % {'counter': product_filter.qs.count() }+ 'counter') % {'counter': product_filter.qs.count()}ctx = {'bulk_action_form': forms.ProductBulkUpdate(),'products': products, 'product_classes': product_classes,@@ -512,7 +512,7 @@ def attribute_list(request):'Filter set results summary','Found %(counter)d matching attribute','Found %(counter)d matching attributes',- 'counter') % {'counter': attribute_filter.qs.count() }+ 'counter') % {'counter': attribute_filter.qs.count()}ctx = {'attributes': attributes, 'filter': attribute_filter,'is_empty': not attribute_filter.queryset.exists(),diff --git a/saleor/dashboard/shipping/views.py b/saleor/dashboard/shipping/views.pyindex 634ff84cbd..f02590cacd 100644--- a/saleor/dashboard/shipping/views.py+++ b/saleor/dashboard/shipping/views.py@@ -26,7 +26,7 @@ def shipping_method_list(request):'Filter set results summary','Found %(counter)d matching shipping method','Found %(counter)d matching shipping methods',- 'counter') % {'counter': shipping_method_filter.qs.count() }+ 'counter') % {'counter': shipping_method_filter.qs.count()}ctx = {'shipping_methods': methods, 'filter': shipping_method_filter,'is_empty': not shipping_method_filter.queryset.exists(),diff --git a/saleor/dashboard/staff/views.py b/saleor/dashboard/staff/views.pyindex 6d8c28139a..0356685777 100644--- a/saleor/dashboard/staff/views.py+++ b/saleor/dashboard/staff/views.py@@ -27,7 +27,7 @@ def staff_list(request):'Filter set results summary','Found %(counter)d matching staff member','Found %(counter)d matching staff members',- 'counter') % {'counter': staff_filter.qs.count() }+ 'counter') % {'counter': staff_filter.qs.count()}ctx = {'staff': staff_members, 'filter': staff_filter,'is_empty': not staff_filter.queryset.exists(),