Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Make codeclimate happy
michal5a2d385df547
diff --git a/saleor/dashboard/templatetags/utils.py b/saleor/dashboard/templatetags/utils.pyindex b01ece1b77..3e53427f9a 100644--- a/saleor/dashboard/templatetags/utils.py+++ b/saleor/dashboard/templatetags/utils.py@@ -39,6 +39,6 @@ def paginate(context, page_obj, num_of_pages=5):context['page_obj'] = page_objcontext['n_forward'] = num_of_pages + 1context['n_backward'] = -num_of_pages - 1- context['next_section'] = (2*num_of_pages) + 1- context['previous_section'] = (-2*num_of_pages) - 1+ context['next_section'] = (2 * num_of_pages) + 1+ context['previous_section'] = (-2 * num_of_pages) - 1return context